Home
last modified time | relevance | path

Searched refs:SNORM_INT8 (Results 1 – 5 of 5) sorted by relevance

/external/deqp/framework/opengl/
DgluTextureUtil.cpp98 case TextureFormat::SNORM_INT8: type = GL_BYTE; break; in getTransferFormat()
169 case FMT_CASE(RGBA, SNORM_INT8): return GL_RGBA8_SNORM; in getInternalFormat()
181 case FMT_CASE(RGB, SNORM_INT8): return GL_RGB8_SNORM; in getInternalFormat()
199 case FMT_CASE(RG, SNORM_INT8): return GL_RG8_SNORM; in getInternalFormat()
213 case FMT_CASE(R, SNORM_INT8): return GL_R8_SNORM; in getInternalFormat()
403 case GL_BYTE: return normalized ? TextureFormat::SNORM_INT8 : TextureFormat::SIGNED_INT8; in mapGLChannelType()
493 case GL_RGBA8_SNORM: return TextureFormat(TextureFormat::RGBA, TextureFormat::SNORM_INT8); in mapGLInternalFormat()
505 case GL_RGB8_SNORM: return TextureFormat(TextureFormat::RGB, TextureFormat::SNORM_INT8); in mapGLInternalFormat()
523 case GL_RG8_SNORM: return TextureFormat(TextureFormat::RG, TextureFormat::SNORM_INT8); in mapGLInternalFormat()
537 case GL_R8_SNORM: return TextureFormat(TextureFormat::R, TextureFormat::SNORM_INT8); in mapGLInternalFormat()
/external/deqp/framework/common/
DtcuTextureUtil.cpp98 case TextureFormat::SNORM_INT8: return TEXTURECHANNELCLASS_SIGNED_FIXED_POINT; in getTextureChannelClass()
248 case TextureFormat::SNORM_INT8: in getChannelValueRange()
331 case TextureFormat::SNORM_INT8: return IVec4(8); in getChannelBitDepth()
387 case TextureFormat::SNORM_INT8: in getChannelMantissaBitDepth()
DtcuTexture.cpp157 case TextureFormat::SNORM_INT8: return 1; in getChannelSize()
217 case TextureFormat::SNORM_INT8: return de::max(-1.0f, (float)*((const deInt8*)value) / 127.0f); in channelToFloat()
246 case TextureFormat::SNORM_INT8: return (int)*((const deInt8*)value); in channelToInt()
275 …case TextureFormat::SNORM_INT8: *((deInt8*)dst) = convertSatRte<deInt8> (src * 127.0f); bre… in floatToChannel()
331 case TextureFormat::SNORM_INT8: *((deInt8*)dst) = convertSat<deInt8> (src); break; in intToChannel()
DtcuTexture.hpp71 SNORM_INT8 = 0, enumerator
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp162 return type == TextureFormat::SNORM_INT8 || in isFormatTypeSnorm()
226 case TextureFormat::SNORM_INT8: typePart = "8_snorm"; break; in getShaderImageFormatQualifier()
3166 TextureFormat(TextureFormat::RGBA, TextureFormat::SNORM_INT8) in init()