Searched refs:FLOAT_INT_SCALE (Results 1 - 1 of 1) sorted by relevance

/external/deqp/modules/gles3/functional/
H A Des3fInstancedRenderingTests.cpp62 static const float FLOAT_INT_SCALE = 100.0f; member in namespace:deqp::gles3::Functional
168 vec.push_back(VarComp((deInt32)(val*FLOAT_INT_SCALE + FLOAT_INT_BIAS)));
186 string floatIntScaleStr = "(" + de::floatToString(FLOAT_INT_SCALE, 3) + ")";
586 deInt32 intR = (deInt32)(r*FLOAT_INT_SCALE + FLOAT_INT_BIAS);
587 deInt32 intG = (deInt32)(g*FLOAT_INT_SCALE + FLOAT_INT_BIAS);
588 deInt32 intB = (deInt32)(b*FLOAT_INT_SCALE + FLOAT_INT_BIAS);
589 r = (float)(intR - FLOAT_INT_BIAS) / FLOAT_INT_SCALE;
590 g = (float)(intG - FLOAT_INT_BIAS) / FLOAT_INT_SCALE;
591 b = (float)(intB - FLOAT_INT_BIAS) / FLOAT_INT_SCALE;

Completed in 43 milliseconds