projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4a296c
)
st/mesa: added cases for GL_COMPRESSED_RED/RG in st_choose_format()
author
Brian Paul
<brianp@vmware.com>
Thu, 21 Oct 2010 22:39:07 +0000
(16:39 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 Oct 2010 23:05:35 +0000
(17:05 -0600)
src/mesa/state_tracker/st_format.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_format.c
b/src/mesa/state_tracker/st_format.c
index 4e90bd01a305813fb6eef234ab7152b181175148..7ad48ecea0c96abb46b97b29ee15a1a586533668 100644
(file)
--- 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)