Searched refs:unscaleUShort (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/src/Shader/ |
D | Constants.cpp | 344 static const float4 unscaleUShort = {1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF}; in Constants() local 352 memcpy(&this->unscaleUShort, &unscaleUShort, sizeof(unscaleUShort)); in Constants()
|
D | Constants.hpp | 102 float4 unscaleUShort; member
|
D | VertexRoutine.cpp | 311 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream() 312 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream() 313 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream() 314 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
|
/external/swiftshader/src/Pipeline/ |
D | Constants.cpp | 347 static const float4 unscaleUShort = { 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF }; in Constants() local 359 memcpy(&this->unscaleUShort, &unscaleUShort, sizeof(unscaleUShort)); in Constants()
|
D | Constants.hpp | 133 float4 unscaleUShort; member
|
D | VertexRoutine.cpp | 326 if(componentCount >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUShort)); in readStream() 327 if(componentCount >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUShort)); in readStream() 328 if(componentCount >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUShort)); in readStream() 329 if(componentCount >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleUShort)); in readStream()
|