diff options
author | Christian Gmeiner <[email protected]> | 2016-06-20 09:44:22 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-06-22 12:46:08 -0700 |
commit | 22304554a2e0669d38cc5de415c84bd1cccf6a94 (patch) | |
tree | 75700c72a328db2d5da77ba3a26faf378047f8f4 /src/mesa | |
parent | c2f2c8e407207c31c29aab5570d23cd6e98d287a (diff) |
st/mesa: expose EXT_vertex_array_bgra when supported by backend
Signed-off-by: Christian Gmeiner <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 04f6b1a5a75..412f598ca62 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -778,6 +778,8 @@ void st_init_extensions(struct pipe_screen *screen, /* Required: vertex fetch support. */ static const struct st_extension_format_mapping vertex_mapping[] = { + { { o(EXT_vertex_array_bgra) }, + { PIPE_FORMAT_B8G8R8A8_UNORM } }, { { o(ARB_vertex_type_2_10_10_10_rev) }, { PIPE_FORMAT_R10G10B10A2_UNORM, PIPE_FORMAT_B10G10R10A2_UNORM, @@ -830,7 +832,6 @@ void st_init_extensions(struct pipe_screen *screen, extensions->EXT_provoking_vertex = GL_TRUE; extensions->EXT_texture_env_dot3 = GL_TRUE; - extensions->EXT_vertex_array_bgra = GL_TRUE; extensions->ATI_fragment_shader = GL_TRUE; extensions->ATI_texture_env_combine3 = GL_TRUE; |