Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp358 static const float4 unscaleShort = {1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF}; in Constants() local
366 memcpy(&this->unscaleShort, &unscaleShort, sizeof(unscaleShort)); in Constants()
DConstants.hpp104 float4 unscaleShort; member
DVertexRoutine.cpp239 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
240 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
241 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()
242 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleShort)); in readStream()