Searched refs:deFloat32To16 (Results 1 – 10 of 10) sorted by relevance
42 deFloat16 deFloat32To16 (float val32);
28 deFloat16 deFloat32To16 (float val32) in deFloat32To16() function
2341 …const deUint16 r = isVoidExtentHDR ? deFloat32To16(rnd.getFloat(0.0f, 1.0f)) : (deUint16)rnd.g… in generateRandomBlock()2342 …const deUint16 g = isVoidExtentHDR ? deFloat32To16(rnd.getFloat(0.0f, 1.0f)) : (deUint16)rnd.g… in generateRandomBlock()2343 …const deUint16 b = isVoidExtentHDR ? deFloat32To16(rnd.getFloat(0.0f, 1.0f)) : (deUint16)rnd.g… in generateRandomBlock()2344 …const deUint16 a = isVoidExtentHDR ? deFloat32To16(rnd.getFloat(0.0f, 1.0f)) : (deUint16)rnd.g… in generateRandomBlock()2470 …const deFloat16 r = deFloat32To16(minValue + (float)rNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()2471 …const deFloat16 g = deFloat32To16(minValue + (float)gNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()2472 …const deFloat16 b = deFloat32To16(minValue + (float)bNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()2473 …const deFloat16 a = deFloat32To16(minValue + (float)aNdx * (maxValue - minValue) / (float)(numBl… in generateBlockCaseTestData()
359 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16 (src); break; in floatToChannel()444 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16((float)src); break; in intToChannel()
394 vm[V_UNUSED] = deFloat32To16(0.0f); in TypeValues()396 vm[V_MINUS_ONE] = deFloat32To16(-1.0f); in TypeValues()399 vm[V_HALF] = deFloat32To16(0.5f); in TypeValues()400 vm[V_ONE] = deFloat32To16(1.0f); in TypeValues()
2311 const Float16 originalFloat (deFloat32To16(expected)); in compare32BitFloat()
4215 vector<deFloat16> float16Data (4 * cases[caseIdx].numElements, deFloat32To16(0.5f)); in addGraphics16BitStorageInputOutputFloat16To16x2Group()
1444 deFloat16 f16 = deFloat32To16(value); in writeVertexInputValueSfloat()
776 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()
811 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()