Home
last modified time | relevance | path

Searched refs:RoundInt (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/Renderer/
DBlitter.cpp342 *Pointer<Byte>(element) = Byte(RoundInt(Float(c.x))); in write()
345 if(writeA) { *Pointer<Byte>(element) = Byte(RoundInt(Float(c.w))); } in write()
356 if(writeB) { *Pointer<Byte>(element + 0) = Byte(RoundInt(Float(c.z))); } in write()
357 if(writeG) { *Pointer<Byte>(element + 1) = Byte(RoundInt(Float(c.y))); } in write()
358 if(writeR) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.x))); } in write()
359 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
372 if(writeR) { *Pointer<Byte>(element + 0) = Byte(RoundInt(Float(c.x))); } in write()
373 if(writeG) { *Pointer<Byte>(element + 1) = Byte(RoundInt(Float(c.y))); } in write()
374 if(writeB) { *Pointer<Byte>(element + 2) = Byte(RoundInt(Float(c.z))); } in write()
375 if(writeA) { *Pointer<Byte>(element + 3) = Byte(RoundInt(Float(c.w))); } in write()
[all …]
/external/swiftshader/src/Shader/
DSetupRoutine.cpp158 …X[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,X0x16)) + v.x * rhw * *Pointer<Float>(data … in generate()
159 …Y[i] = RoundInt(*Pointer<Float>(data + OFFSET(DrawData,Y0x16)) + v.y * rhw * *Pointer<Float>(data … in generate()
DVertexRoutine.cpp663 …v.x = As<Float4>(RoundInt(*Pointer<Float4>(data + OFFSET(DrawData,X0x16)) + v.x * rhw * *Pointer<F… in writeCache()
664 …v.y = As<Float4>(RoundInt(*Pointer<Float4>(data + OFFSET(DrawData,Y0x16)) + v.y * rhw * *Pointer<F… in writeCache()
DShaderCore.cpp213 x2 = RoundInt(x1); in exponential2()
593 dst.x = As<Float4>(RoundInt(src.x)); in mov()
594 dst.y = As<Float4>(RoundInt(src.y)); in mov()
595 dst.z = As<Float4>(RoundInt(src.z)); in mov()
596 dst.w = As<Float4>(RoundInt(src.w)); in mov()
DSamplerCore.cpp704 Int a = RoundInt(anisotropy); in sampleAniso()
1183 Int a = RoundInt(anisotropy); in sampleFloatAniso()
2036 ilod = RoundInt(lod); in selectMipmap()
2073 …return Min(Max(Short4(RoundInt(uw)), Short4(0)), *Pointer<Short4>(mipmap + OFFSET(Mipmap, depth)) … in address()
/external/swiftshader/src/Reactor/
DNucleus.hpp1249 RValue<Int> RoundInt(RValue<Float> cast);
1712 RValue<Int4> RoundInt(RValue<Float4> cast);
DNucleus.cpp4109 RValue<Int> RoundInt(RValue<Float> cast) in RoundInt() function
5591 RValue<Int4> RoundInt(RValue<Float4> cast) in RoundInt() function
6762 return Float4(RoundInt(x)); in Round()