Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp343 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()
DConstants.hpp101 float4 unscaleShort; member
DVertexRoutine.cpp283 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/
DConstants.cpp346 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()
DConstants.hpp132 float4 unscaleShort; member
DVertexRoutine.cpp301 … >= 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()