diff options
author | Dave Airlie <[email protected]> | 2011-01-13 17:22:54 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-01-16 12:54:07 +1000 |
commit | 527bf67682db70091abf9c5395433bf9b8b98aab (patch) | |
tree | f82f62df57e616d004779aad3440fecd39092f7f /src/mesa/state_tracker/st_extensions.c | |
parent | 9b1a15e1cb42247703422d1d25c7150214778f84 (diff) |
gallium: add EXT_texture_sRGB_decode.
This uses a sampler view to access the texture with the alternate format.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index aead5927102..abaf8235416 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -387,6 +387,7 @@ void st_init_extensions(struct st_context *st) PIPE_TEXTURE_2D, 0, PIPE_BIND_SAMPLER_VIEW, 0)) { ctx->Extensions.EXT_texture_sRGB = GL_TRUE; + ctx->Extensions.EXT_texture_sRGB_decode = GL_TRUE; } if (screen->is_format_supported(screen, PIPE_FORMAT_R8G8_UNORM, |