Searched refs:unscaleByte (Results 1 – 6 of 6) sorted by relevance
/external/swiftshader/src/Shader/ |
D | Constants.cpp | 341 static const float4 unscaleByte = {1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF}; in Constants() local 349 memcpy(&this->unscaleByte, &unscaleByte, sizeof(unscaleByte)); in Constants()
|
D | VertexRoutine.cpp | 212 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 213 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 214 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 215 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 258 …x = Float4(*Pointer<Byte4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 259 …y = Float4(*Pointer<Byte4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 260 …z = Float4(*Pointer<Byte4>(source2)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 261 …w = Float4(*Pointer<Byte4>(source3)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
|
D | Constants.hpp | 99 float4 unscaleByte; member
|
/external/swiftshader/src/Pipeline/ |
D | Constants.cpp | 341 static const float4 unscaleByte = {1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF}; in Constants() local 349 memcpy(&this->unscaleByte, &unscaleByte, sizeof(unscaleByte)); in Constants()
|
D | VertexRoutine.cpp | 207 if(stream.count >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 208 if(stream.count >= 2) v.y *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 209 if(stream.count >= 3) v.z *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 210 if(stream.count >= 4) v.w *= *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 253 …x = Float4(*Pointer<Byte4>(source0)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 254 …y = Float4(*Pointer<Byte4>(source1)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 255 …z = Float4(*Pointer<Byte4>(source2)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream() 256 …w = Float4(*Pointer<Byte4>(source3)) * *Pointer<Float4>(constants + OFFSET(Constants,unscaleByte)); in readStream()
|
D | Constants.hpp | 99 float4 unscaleByte; member
|