Home
last modified time | relevance | path

Searched refs:unscaleUShort (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/Shader/
DConstants.cpp344 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()
DConstants.hpp102 float4 unscaleUShort; member
DVertexRoutine.cpp311 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/
DConstants.cpp347 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()
DConstants.hpp133 float4 unscaleUShort; member
DVertexRoutine.cpp326 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()