diff options
author | Marek Olšák <maraeo@gmail.com> | 2012-04-11 12:54:10 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2012-04-24 01:39:22 +0200 |
commit | a78fd815d4f3d3a1da7cf63375fd90c03d6e9ad6 (patch) | |
tree | 74313196d9308f9828dcb9cc2be0516ad653dbc2 /src | |
parent | e0773da1e897164ed7597437070e32b867734ee5 (diff) |
st/mesa: always expose ARB_half_float_vertex
u_vbuf kicks in and translates it to float if it's unsupported.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 34e0329be2f..359ebda4307 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -462,9 +462,6 @@ void st_init_extensions(struct st_context *st) { { o(ARB_ES2_compatibility) }, { PIPE_FORMAT_R32G32B32A32_FIXED } }, - { { o(ARB_half_float_vertex) }, - { PIPE_FORMAT_R16G16B16A16_FLOAT } }, - { { o(ARB_vertex_type_2_10_10_10_rev) }, { PIPE_FORMAT_R10G10B10A2_UNORM, PIPE_FORMAT_B10G10R10A2_UNORM, @@ -486,6 +483,7 @@ void st_init_extensions(struct st_context *st) ctx->Extensions.ARB_fragment_program = GL_TRUE; ctx->Extensions.ARB_fragment_shader = GL_TRUE; ctx->Extensions.ARB_half_float_pixel = GL_TRUE; + ctx->Extensions.ARB_half_float_vertex = GL_TRUE; ctx->Extensions.ARB_map_buffer_range = GL_TRUE; ctx->Extensions.ARB_sampler_objects = GL_TRUE; ctx->Extensions.ARB_shader_objects = GL_TRUE; |