• Home
  • Raw
  • Download

Lines Matching refs:FMT_CASE

146 #define FMT_CASE(ORDER, TYPE) PACK_FMT(tcu::TextureFormat::ORDER, tcu::TextureFormat::TYPE)  in getInternalFormat()  macro
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat()
151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat()
152 case FMT_CASE(RGB, UNORM_SHORT_565): return GL_RGB565; in getInternalFormat()
153 case FMT_CASE(D, UNORM_INT16): return GL_DEPTH_COMPONENT16; in getInternalFormat()
154 case FMT_CASE(S, UNSIGNED_INT8): return GL_STENCIL_INDEX8; in getInternalFormat()
156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat()
157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat()
158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat()
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat()
160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM; in getInternalFormat()
161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F; in getInternalFormat()
162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I; in getInternalFormat()
163 case FMT_CASE(RGBA, UNSIGNED_INT16): return GL_RGBA16UI; in getInternalFormat()
164 case FMT_CASE(RGBA, UNORM_INT8): return GL_RGBA8; in getInternalFormat()
165 case FMT_CASE(RGBA, SIGNED_INT8): return GL_RGBA8I; in getInternalFormat()
166 case FMT_CASE(RGBA, UNSIGNED_INT8): return GL_RGBA8UI; in getInternalFormat()
167 case FMT_CASE(sRGBA, UNORM_INT8): return GL_SRGB8_ALPHA8; in getInternalFormat()
168 case FMT_CASE(RGBA, UNORM_INT_1010102_REV): return GL_RGB10_A2; in getInternalFormat()
169 case FMT_CASE(RGBA, UNSIGNED_INT_1010102_REV): return GL_RGB10_A2UI; in getInternalFormat()
170 case FMT_CASE(RGBA, SNORM_INT8): return GL_RGBA8_SNORM; in getInternalFormat()
172 case FMT_CASE(RGB, UNORM_INT8): return GL_RGB8; in getInternalFormat()
173 case FMT_CASE(RGB, UNSIGNED_INT_11F_11F_10F_REV): return GL_R11F_G11F_B10F; in getInternalFormat()
174 case FMT_CASE(RGB, FLOAT): return GL_RGB32F; in getInternalFormat()
175 case FMT_CASE(RGB, SIGNED_INT32): return GL_RGB32I; in getInternalFormat()
176 case FMT_CASE(RGB, UNSIGNED_INT32): return GL_RGB32UI; in getInternalFormat()
177 case FMT_CASE(RGB, UNORM_INT16): return GL_RGB16; in getInternalFormat()
178 case FMT_CASE(RGB, SNORM_INT16): return GL_RGB16_SNORM; in getInternalFormat()
179 case FMT_CASE(RGB, HALF_FLOAT): return GL_RGB16F; in getInternalFormat()
180 case FMT_CASE(RGB, SIGNED_INT16): return GL_RGB16I; in getInternalFormat()
181 case FMT_CASE(RGB, UNSIGNED_INT16): return GL_RGB16UI; in getInternalFormat()
182 case FMT_CASE(RGB, SNORM_INT8): return GL_RGB8_SNORM; in getInternalFormat()
183 case FMT_CASE(RGB, SIGNED_INT8): return GL_RGB8I; in getInternalFormat()
184 case FMT_CASE(RGB, UNSIGNED_INT8): return GL_RGB8UI; in getInternalFormat()
185 case FMT_CASE(sRGB, UNORM_INT8): return GL_SRGB8; in getInternalFormat()
186 case FMT_CASE(RGB, UNSIGNED_INT_999_E5_REV): return GL_RGB9_E5; in getInternalFormat()
187 case FMT_CASE(RGB, UNORM_INT_1010102_REV): return GL_RGB10; in getInternalFormat()
189 case FMT_CASE(RG, FLOAT): return GL_RG32F; in getInternalFormat()
190 case FMT_CASE(RG, SIGNED_INT32): return GL_RG32I; in getInternalFormat()
191 case FMT_CASE(RG, UNSIGNED_INT32): return GL_RG32UI; in getInternalFormat()
192 case FMT_CASE(RG, UNORM_INT16): return GL_RG16; in getInternalFormat()
193 case FMT_CASE(RG, SNORM_INT16): return GL_RG16_SNORM; in getInternalFormat()
194 case FMT_CASE(RG, HALF_FLOAT): return GL_RG16F; in getInternalFormat()
195 case FMT_CASE(RG, SIGNED_INT16): return GL_RG16I; in getInternalFormat()
196 case FMT_CASE(RG, UNSIGNED_INT16): return GL_RG16UI; in getInternalFormat()
197 case FMT_CASE(RG, UNORM_INT8): return GL_RG8; in getInternalFormat()
198 case FMT_CASE(RG, SIGNED_INT8): return GL_RG8I; in getInternalFormat()
199 case FMT_CASE(RG, UNSIGNED_INT8): return GL_RG8UI; in getInternalFormat()
200 case FMT_CASE(RG, SNORM_INT8): return GL_RG8_SNORM; in getInternalFormat()
201 case FMT_CASE(sRG, UNORM_INT8): return GL_SRG8_EXT; in getInternalFormat()
203 case FMT_CASE(R, FLOAT): return GL_R32F; in getInternalFormat()
204 case FMT_CASE(R, SIGNED_INT32): return GL_R32I; in getInternalFormat()
205 case FMT_CASE(R, UNSIGNED_INT32): return GL_R32UI; in getInternalFormat()
206 case FMT_CASE(R, UNORM_INT16): return GL_R16; in getInternalFormat()
207 case FMT_CASE(R, SNORM_INT16): return GL_R16_SNORM; in getInternalFormat()
208 case FMT_CASE(R, HALF_FLOAT): return GL_R16F; in getInternalFormat()
209 case FMT_CASE(R, SIGNED_INT16): return GL_R16I; in getInternalFormat()
210 case FMT_CASE(R, UNSIGNED_INT16): return GL_R16UI; in getInternalFormat()
211 case FMT_CASE(R, UNORM_INT8): return GL_R8; in getInternalFormat()
212 case FMT_CASE(R, SIGNED_INT8): return GL_R8I; in getInternalFormat()
213 case FMT_CASE(R, UNSIGNED_INT8): return GL_R8UI; in getInternalFormat()
214 case FMT_CASE(R, SNORM_INT8): return GL_R8_SNORM; in getInternalFormat()
215 case FMT_CASE(sR, UNORM_INT8): return GL_SR8_EXT; in getInternalFormat()
217 case FMT_CASE(D, FLOAT): return GL_DEPTH_COMPONENT32F; in getInternalFormat()
218 case FMT_CASE(D, UNSIGNED_INT_24_8): return GL_DEPTH_COMPONENT24; in getInternalFormat()
219 case FMT_CASE(D, UNSIGNED_INT32): return GL_DEPTH_COMPONENT32; in getInternalFormat()
220 case FMT_CASE(DS, FLOAT_UNSIGNED_INT_24_8_REV): return GL_DEPTH32F_STENCIL8; in getInternalFormat()
221 case FMT_CASE(DS, UNSIGNED_INT_24_8): return GL_DEPTH24_STENCIL8; in getInternalFormat()