Searched refs:VALIDATE_INTERNALFORMAT (Results 1 – 2 of 2) sorted by relevance
1004 …#define VALIDATE_INTERNALFORMAT(...) { GLint validInternalformats[] = {__VA_ARGS__}; for(GLint v :… in ValidateTextureFormatType() macro1011 …case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8, GL_RGB5_A1, GL_RGBA4, GL_SR… in ValidateTextureFormatType()1012 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_SNORM) in ValidateTextureFormatType()1013 case GL_UNSIGNED_SHORT_4_4_4_4: VALIDATE_INTERNALFORMAT(GL_RGBA4) in ValidateTextureFormatType()1014 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1) in ValidateTextureFormatType()1015 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2, GL_RGB5_A1) in ValidateTextureFormatType()1017 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGBA16F) in ValidateTextureFormatType()1018 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGBA32F, GL_RGBA16F) in ValidateTextureFormatType()1025 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8UI) in ValidateTextureFormatType()1026 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8I) in ValidateTextureFormatType()[all …]
248 …#define VALIDATE_INTERNALFORMAT(...) { GLint validInternalformats[] = {__VA_ARGS__}; for(GLint v :… in ValidateTextureFormatType() macro255 …case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_OES, GL_RGB5_A1_OES, GL_RGBA… in ValidateTextureFormatType()256 case GL_UNSIGNED_SHORT_4_4_4_4: VALIDATE_INTERNALFORMAT(GL_RGBA4_OES) in ValidateTextureFormatType()257 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1_OES) in ValidateTextureFormatType()264 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8_OES, GL_RGB565_OES) in ValidateTextureFormatType()265 case GL_UNSIGNED_SHORT_5_6_5: VALIDATE_INTERNALFORMAT(GL_RGB565_OES) in ValidateTextureFormatType()272 case GL_UNSIGNED_INT_24_8_OES: VALIDATE_INTERNALFORMAT(GL_DEPTH24_STENCIL8_OES) in ValidateTextureFormatType()279 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_LUMINANCE8_ALPHA8_EXT) in ValidateTextureFormatType()287 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_LUMINANCE8_EXT) in ValidateTextureFormatType()295 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_ALPHA8_EXT) in ValidateTextureFormatType()[all …]