/external/deqp/external/openglcts/modules/common/ |
D | glcMisc.cpp | 41 GLhalf floatToHalfFloat(float f) in floatToHalfFloat() 48 unsigned int sign = (GLhalf)(x >> 31); in floatToHalfFloat() 51 GLhalf hf; in floatToHalfFloat() 70 hf = (((GLhalf)sign) << 15) | (GLhalf)(HALF_FLOAT_MAX_BIASED_EXP) | (GLhalf)(mantissa >> 13); in floatToHalfFloat() 79 hf = (((GLhalf)sign) << 15) | (GLhalf)(mantissa); in floatToHalfFloat() 83 hf = (((GLhalf)sign) << 15) | (GLhalf)((exp - HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP) >> 13) | in floatToHalfFloat() 84 (GLhalf)(mantissa >> 13); in floatToHalfFloat() 104 unsigned int sign = (GLhalf)(x >> 31); in floatToUnisgnedF11() 185 unsigned int sign = (GLhalf)(x >> 31); in floatToUnisgnedF10() 252 float halfFloatToFloat(GLhalf hf) in halfFloatToFloat()
|
D | glcMisc.hpp | 31 glw::GLhalf floatToHalfFloat(float f); 35 float halfFloatToFloat(glw::GLhalf hf);
|
D | glcInternalformatTests.cpp | 181 static GLhalf floatToHalf(float f); 516 GLhalf* dstHalf = reinterpret_cast<GLhalf*>(dst); in convertHFloat() 624 GLhalf InternalformatCaseBase::floatToHalf(float f) in floatToHalf() 636 unsigned int sign = static_cast<GLhalf>(x >> 31); in floatToHalf() 656 …return (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)(HALF_FLOAT_MAX_BIASED_EXP) | (GLhalf)(mantissa >… in floatToHalf() 665 return (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)(mantissa)); in floatToHalf() 668 …return (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)((exp - HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EX… in floatToHalf() 669 (GLhalf)(mantissa >> 13)); in floatToHalf()
|
D | glcPackedPixelsTests.cpp | 348 …{ GL_HALF_FLOAT, sizeof(GLhalf), STORAGE_FLOAT, false, false, { { 0, 0, 0, 0, 0, 0, 0,… 375 …{ GL_HALF_FLOAT, sizeof(GLhalf), STORAGE_FLOAT, false, false, { { 0, 0, 0, 0, 0, 0, 0,… 712 static GLhalf unpack_HALF_FLOAT(float value); 792 static float pack_HALF_FLOAT(GLhalf value); 1137 makeGradient<GLhalf>(unpack_HALF_FLOAT); in createGradient() 1332 GLhalf RectangleTest::unpack_HALF_FLOAT(float value) in unpack_HALF_FLOAT() 3111 float RectangleTest::pack_HALF_FLOAT(GLhalf value) in pack_HALF_FLOAT()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cVertexAttribBindingTests.cpp | 236 GLhalf FloatToHalf(float f) in FloatToHalf() 247 unsigned int sign = (GLhalf)(x >> 31); in FloatToHalf() 250 GLhalf hf; in FloatToHalf() 269 …hf = (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)(HALF_FLOAT_MAX_BIASED_EXP) | (GLhalf)(mantissa >> … in FloatToHalf() 278 hf = (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)(mantissa)); in FloatToHalf() 282 …hf = (GLhalf)((((GLhalf)sign) << 15) | (GLhalf)((exp - HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP)… in FloatToHalf() 283 (GLhalf)(mantissa >> 13)); in FloatToHalf() 773 GLhalf d[] = { FloatToHalf(0.0), FloatToHalf(100.0), FloatToHalf(200.0) }; in Run() 778 GLhalf d[] = { FloatToHalf(300.0), FloatToHalf(400.0) }; in Run() 880 GLhalf d[] = { FloatToHalf(0.0), FloatToHalf(10.0), FloatToHalf(20.0), FloatToHalf(0.0) }; in Run() [all …]
|
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferParameters.cpp | 65 m_internal_formats[GL_R16F] = sizeof(glw::GLhalf) * 1 /* components */; in initTest() 74 m_internal_formats[GL_RG16F] = sizeof(glw::GLhalf) * 2 /* components */; in initTest() 86 m_internal_formats[GL_RGBA16F] = sizeof(glw::GLhalf) * 4 /* components */; in initTest()
|
D | esextcTextureBufferTextureBufferRange.cpp | 104 m_not_aligned_size = static_cast<glw::GLuint>(sizeof(glw::GLhalf) * m_n_components); in configure() 239 m_not_aligned_size = static_cast<glw::GLuint>(sizeof(glw::GLhalf) * m_n_components); in configure() 419 m_not_aligned_size = static_cast<glw::GLuint>(sizeof(glw::GLhalf) * m_n_components); in configure() 1290 glw::GLhalf* pointer = reinterpret_cast<glw::GLhalf*>(&buffer[offset]); in fillInputData()
|
/external/deqp/framework/opengl/wrapper/ |
D | glwDefs.cpp | 43 DE_STATIC_ASSERT(sizeof(GLhalf) == 2);
|
D | glwTypes.inl | 58 typedef deUint16 GLhalf; typedef
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl3cTextureSwizzleTests.cpp | 51 static const glw::GLhalf data_float16_one[] = { tcu::Float16(1.0).bits() }; 52 static const glw::GLhalf data_float16_zero[] = { tcu::Float16(0.0).bits() }; 102 static const glw::GLhalf src_data_r16f[] = { tcu::Float16(1.0).bits() }; 103 static const glw::GLhalf src_data_rg16f[] = { tcu::Float16(1.0).bits(), tcu::Float16(-1.0).bi… 104 static const glw::GLhalf src_data_rgb16f[] = { tcu::Float16(1.0).bits(), tcu::Float16(-1.0).bi… 106 static const glw::GLhalf src_data_rgba16f[] = { tcu::Float16(1.0).bits(), tcu::Float16(-1.0).bits(), 117 static const glw::GLhalf exp_data_r11f_g11f_b10f[] = { tcu::Float16(0.5).bits(), tcu::Float16(0.75)… 1582 const glw::GLhalf* ptr = (const glw::GLhalf*)format.m_source_data; in calculate_values_from_source() 1586 const glw::GLhalf val = ptr[i]; in calculate_values_from_source() 4224 res = isInRange<glw::GLhalf>(pointer, expected_data_low, expected_data_top); in iterate()
|
D | gl4cDirectStateAccessBuffersTests.cpp | 1070 glw::GLhalf reference[4] = { 0x3C00 /* 1.0hf */, 0x0000 /* 0.0hf */, 0xC000 /* -2.0hf */, in iterate() 1073 …is_ok &= TestClearNamedBufferData<glw::GLhalf, false>(GL_R16F, 1, GL_RED, GL_HALF_FLOAT, reference… in iterate() 1074 …is_ok &= TestClearNamedBufferData<glw::GLhalf, false>(GL_RG16F, 2, GL_RG, GL_HALF_FLOAT, reference… in iterate() 1075 …is_ok &= TestClearNamedBufferData<glw::GLhalf, false>(GL_RGBA16F, 4, GL_RGBA, GL_HALF_FLOAT, refer… in iterate() 1078 …is_ok &= TestClearNamedBufferData<glw::GLhalf, true>(GL_R16F, 1, GL_RED, GL_HALF_FLOAT, reference); in iterate() 1079 …is_ok &= TestClearNamedBufferData<glw::GLhalf, true>(GL_RG16F, 2, GL_RG, GL_HALF_FLOAT, reference); in iterate() 1080 …is_ok &= TestClearNamedBufferData<glw::GLhalf, true>(GL_RGBA16F, 4, GL_RGBA, GL_HALF_FLOAT, refere… in iterate()
|
D | gl4cDirectStateAccessVertexArraysTests.cpp | 2272 de::max(sizeof(glw::GLhalf), in PrepareXFB()
|
/external/mesa3d/docs/relnotes/ |
D | 6.1 | 21 Half-precision floating point (GLhalf) pixel formats are supported
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.h | 218 case GL_HALF_FLOAT: return mSize * sizeof(GLhalf); in typeSize()
|
/external/swiftshader/third_party/PowerVR_SDK/Builds/Include/GLES3/ |
D | gl3.h | 63 typedef unsigned short GLhalf; typedef
|
/external/mesa3d/include/GLES3/ |
D | gl3.h | 673 typedef unsigned short GLhalf; typedef
|
D | gl31.h | 675 typedef unsigned short GLhalf; typedef
|
D | gl32.h | 675 typedef unsigned short GLhalf; typedef
|
/external/swiftshader/include/GLES3/ |
D | gl3.h | 673 typedef unsigned short GLhalf; typedef
|
/external/swiftshader/include/GL/ |
D | glcorearb.h | 1001 typedef unsigned short GLhalf; typedef
|
D | glext.h | 882 typedef unsigned short GLhalf; typedef
|
/external/mesa3d/include/GL/ |
D | glcorearb.h | 1001 typedef unsigned short GLhalf; typedef
|
D | glext.h | 882 typedef unsigned short GLhalf; typedef
|