diff options
author | Brian Paul <[email protected]> | 2010-10-21 16:39:07 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-21 17:05:35 -0600 |
commit | b66a92de8c032708e93ca5fd52edfff81e7e6213 (patch) | |
tree | b74643eb8e7bb3fd6416b664257306d4b18c5a09 /src/mesa | |
parent | d4a296caaabfe608fc2b9b3e3c7188249cc2b402 (diff) |
st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_format.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_format.c b/src/mesa/state_tracker/st_format.c index 4e90bd01a30..7ad48ecea0c 100644 --- a/src/mesa/state_tracker/st_format.c +++ b/src/mesa/state_tracker/st_format.c @@ -547,6 +547,8 @@ st_choose_format(struct pipe_screen *screen, GLenum internalFormat, } return PIPE_FORMAT_NONE; + case GL_COMPRESSED_RED: + case GL_COMPRESSED_RG: case GL_COMPRESSED_RGB: /* can only sample from compressed formats */ if (bindings & ~PIPE_BIND_SAMPLER_VIEW) |