Searched refs:unscaleShort (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/src/Shader/ |
D | Constants.cpp | 343 static const float4 unscaleShort = {1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF}; in Constants() local 351 memcpy(&this->unscaleShort, &unscaleShort, sizeof(unscaleShort)); in Constants()
|
D | Constants.hpp | 101 float4 unscaleShort; member
|
D | VertexRoutine.cpp | 283 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream() 284 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream() 285 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream() 286 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
|
/external/swiftshader/src/Pipeline/ |
D | Constants.cpp | 346 static const float4 unscaleShort = { 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF }; in Constants() local 358 memcpy(&this->unscaleShort, &unscaleShort, sizeof(unscaleShort)); in Constants()
|
D | Constants.hpp | 132 float4 unscaleShort; member
|
D | VertexRoutine.cpp | 301 … >= 1) v.x = Max(v.x * *Pointer<Float4>(constants + OFFSET(Constants, unscaleShort)), Float4(-1.0f… in readStream() 302 … >= 2) v.y = Max(v.y * *Pointer<Float4>(constants + OFFSET(Constants, unscaleShort)), Float4(-1.0f… in readStream() 303 … >= 3) v.z = Max(v.z * *Pointer<Float4>(constants + OFFSET(Constants, unscaleShort)), Float4(-1.0f… in readStream() 304 … >= 4) v.w = Max(v.w * *Pointer<Float4>(constants + OFFSET(Constants, unscaleShort)), Float4(-1.0f… in readStream()
|