Lines Matching refs:VALIDATE_INTERNALFORMAT
1044 …#define VALIDATE_INTERNALFORMAT(...) { GLint validInternalformats[] = {__VA_ARGS__}; for(GLint v :… in ValidateTextureFormatType() macro
1051 …case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8, GL_RGB5_A1, GL_RGBA4, GL_SR… in ValidateTextureFormatType()
1052 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8_SNORM) in ValidateTextureFormatType()
1053 case GL_UNSIGNED_SHORT_4_4_4_4: VALIDATE_INTERNALFORMAT(GL_RGBA4) in ValidateTextureFormatType()
1054 case GL_UNSIGNED_SHORT_5_5_5_1: VALIDATE_INTERNALFORMAT(GL_RGB5_A1) in ValidateTextureFormatType()
1055 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2, GL_RGB5_A1) in ValidateTextureFormatType()
1057 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGBA16F) in ValidateTextureFormatType()
1058 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGBA32F, GL_RGBA16F) in ValidateTextureFormatType()
1065 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8UI) in ValidateTextureFormatType()
1066 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGBA8I) in ValidateTextureFormatType()
1067 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16UI) in ValidateTextureFormatType()
1068 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGBA16I) in ValidateTextureFormatType()
1069 case GL_UNSIGNED_INT: VALIDATE_INTERNALFORMAT(GL_RGBA32UI) in ValidateTextureFormatType()
1070 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGBA32I) in ValidateTextureFormatType()
1071 case GL_UNSIGNED_INT_2_10_10_10_REV: VALIDATE_INTERNALFORMAT(GL_RGB10_A2UI) in ValidateTextureFormatType()
1078 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8, GL_RGB565, GL_SRGB8) in ValidateTextureFormatType()
1079 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8_SNORM) in ValidateTextureFormatType()
1080 case GL_UNSIGNED_SHORT_5_6_5: VALIDATE_INTERNALFORMAT(GL_RGB565) in ValidateTextureFormatType()
1081 case GL_UNSIGNED_INT_10F_11F_11F_REV: VALIDATE_INTERNALFORMAT(GL_R11F_G11F_B10F) in ValidateTextureFormatType()
1082 case GL_UNSIGNED_INT_5_9_9_9_REV: VALIDATE_INTERNALFORMAT(GL_RGB9_E5) in ValidateTextureFormatType()
1084 …case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGB16F, GL_R11F_G11F_B10F, GL_RGB… in ValidateTextureFormatType()
1085 …case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_RGB32F, GL_RGB16F, GL_R11F_G11F_B… in ValidateTextureFormatType()
1092 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8UI) in ValidateTextureFormatType()
1093 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RGB8I) in ValidateTextureFormatType()
1094 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16UI) in ValidateTextureFormatType()
1095 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RGB16I) in ValidateTextureFormatType()
1096 case GL_UNSIGNED_INT: VALIDATE_INTERNALFORMAT(GL_RGB32UI) in ValidateTextureFormatType()
1097 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RGB32I) in ValidateTextureFormatType()
1104 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8) in ValidateTextureFormatType()
1105 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8_SNORM) in ValidateTextureFormatType()
1107 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_RG16F) in ValidateTextureFormatType()
1108 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_RG32F, GL_RG16F) in ValidateTextureFormatType()
1115 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8UI) in ValidateTextureFormatType()
1116 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_RG8I) in ValidateTextureFormatType()
1117 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16UI) in ValidateTextureFormatType()
1118 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_RG16I) in ValidateTextureFormatType()
1119 case GL_UNSIGNED_INT: VALIDATE_INTERNALFORMAT(GL_RG32UI) in ValidateTextureFormatType()
1120 case GL_INT: VALIDATE_INTERNALFORMAT(GL_RG32I) in ValidateTextureFormatType()
1127 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_R8) in ValidateTextureFormatType()
1128 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8_SNORM) in ValidateTextureFormatType()
1130 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_R16F) in ValidateTextureFormatType()
1131 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_R32F, GL_R16F) in ValidateTextureFormatType()
1138 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_R8UI) in ValidateTextureFormatType()
1139 case GL_BYTE: VALIDATE_INTERNALFORMAT(GL_R8I) in ValidateTextureFormatType()
1140 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_R16UI) in ValidateTextureFormatType()
1141 case GL_SHORT: VALIDATE_INTERNALFORMAT(GL_R16I) in ValidateTextureFormatType()
1142 case GL_UNSIGNED_INT: VALIDATE_INTERNALFORMAT(GL_R32UI) in ValidateTextureFormatType()
1143 case GL_INT: VALIDATE_INTERNALFORMAT(GL_R32I) in ValidateTextureFormatType()
1150 case GL_UNSIGNED_SHORT: VALIDATE_INTERNALFORMAT(GL_DEPTH_COMPONENT16) in ValidateTextureFormatType()
1151 case GL_UNSIGNED_INT: VALIDATE_INTERNALFORMAT(GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT16) in ValidateTextureFormatType()
1152 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_DEPTH_COMPONENT32F) in ValidateTextureFormatType()
1159 case GL_UNSIGNED_INT_24_8: VALIDATE_INTERNALFORMAT(GL_DEPTH24_STENCIL8) in ValidateTextureFormatType()
1160 case GL_FLOAT_32_UNSIGNED_INT_24_8_REV: VALIDATE_INTERNALFORMAT(GL_DEPTH32F_STENCIL8) in ValidateTextureFormatType()
1167 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_LUMINANCE8_ALPHA8_EXT) in ValidateTextureFormatType()
1169 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE_ALPHA16F_EXT) in ValidateTextureFormatType()
1170 …case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE_ALPHA32F_EXT, GL_LUMINANCE_ALPHA16F_E… in ValidateTextureFormatType()
1178 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_LUMINANCE8_EXT) in ValidateTextureFormatType()
1180 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE16F_EXT) in ValidateTextureFormatType()
1181 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_LUMINANCE32F_EXT, GL_LUMINANCE16F_EXT) in ValidateTextureFormatType()
1189 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_ALPHA8_EXT) in ValidateTextureFormatType()
1191 case GL_HALF_FLOAT: VALIDATE_INTERNALFORMAT(GL_ALPHA16F_EXT) in ValidateTextureFormatType()
1192 case GL_FLOAT: VALIDATE_INTERNALFORMAT(GL_ALPHA32F_EXT, GL_ALPHA16F_EXT) in ValidateTextureFormatType()
1200 case GL_UNSIGNED_BYTE: VALIDATE_INTERNALFORMAT(GL_BGRA8_EXT) in ValidateTextureFormatType()
1209 #undef VALIDATE_INTERNALFORMAT in ValidateTextureFormatType()