Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DSurface.cpp100 *(char*)element = scast<8>(r); in write()
106 *(short*)element = scast<16>(r); in write()
161 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write()
162 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
163 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
164 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
181 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write()
182 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write()
183 (static_cast<unsigned int>(scast<8>(r)) << 0); in write()
202 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write()
[all …]
/external/swiftshader/src/System/
DMath.hpp294 inline int scast(float x) in scast() function
/external/swiftshader/src/Common/
DMath.hpp326 inline int scast(float x) in scast() function