Home
last modified time | relevance | path

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

/external/swiftshader/src/Shader/
DConstants.cpp356 static const float4 unscaleByte = {1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF}; in Constants() local
364 memcpy(&this->unscaleByte, &unscaleByte, sizeof(unscaleByte)); in Constants()
DVertexRoutine.cpp188 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
189 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
190 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
191 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
215 …x = Float4(*Pointer<Byte4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
216 …y = Float4(*Pointer<Byte4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
217 …z = Float4(*Pointer<Byte4>(source2)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
218 …w = Float4(*Pointer<Byte4>(source3)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
DConstants.hpp102 float4 unscaleByte; member