Home
last modified time | relevance | path

Searched refs:deFloat32To16 (Results 1 – 10 of 10) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeFloat16.h42 deFloat16 deFloat32To16 (float val32);
DdeFloat16.c28 deFloat16 deFloat32To16 (float val32) in deFloat32To16() function
/external/deqp/framework/common/
DtcuAstcUtil.cpp2341 …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()
DtcuTexture.cpp359 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16 (src); break; in floatToChannel()
444 case TextureFormat::HALF_FLOAT: *((deFloat16*)dst) = deFloat32To16((float)src); break; in intToChannel()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp394 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()
DvktSpvAsmGraphicsShaderTestUtil.cpp2311 const Float16 originalFloat (deFloat32To16(expected)); in compare32BitFloat()
DvktSpvAsm16bitStorageTests.cpp4215 vector<deFloat16> float16Data (4 * cases[caseIdx].numElements, deFloat32To16(0.5f)); in addGraphics16BitStorageInputOutputFloat16To16x2Group()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp1444 deFloat16 f16 = deFloat32To16(value); in writeVertexInputValueSfloat()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp776 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp811 … case glu::TYPE_FLOAT16: *((deFloat16*)compPtr) = deFloat32To16((float)rnd.getInt(-9, 9)); break; in generateValue()