Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp359 static const float4 unscaleUShort = {1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF}; in Constants() local
367 memcpy(&this->unscaleUShort, &unscaleUShort, sizeof(unscaleUShort)); in Constants()
DConstants.hpp105 float4 unscaleUShort; member
DVertexRoutine.cpp257 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
258 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
259 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()
260 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleUShort)); in readStream()