mesa/st: expose ARB_texture_rgb10_a2ui if R10G10B10A2_UINT is supported v2

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Christoph Bumiller
2013-12-26 19:06:25 +01:00
committed by Maarten Lankhorst
parent c7b14ba23f
commit 3efed4cd05
2 changed files with 8 additions and 2 deletions

View File

@@ -419,7 +419,9 @@ void st_init_extensions(struct st_context *st)
PIPE_FORMAT_R16G16B16A16_FLOAT } },
{ { o(ARB_texture_rgb10_a2ui) },
{ PIPE_FORMAT_B10G10R10A2_UINT } },
{ PIPE_FORMAT_R10G10B10A2_UINT,
PIPE_FORMAT_B10G10R10A2_UINT },
GL_TRUE }, /* at least one format must be supported */
{ { o(EXT_framebuffer_sRGB) },
{ PIPE_FORMAT_A8B8G8R8_SRGB,