projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f092a9
)
mesa: Add support to _mesa_bytes_per_vertex_attrib for 10_11_11 format.
author
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 7 Nov 2013 09:05:01 +0000
(22:05 +1300)
committer
Chris Forbes
<chrisf@ijw.co.nz>
Thu, 7 Nov 2013 20:10:06 +0000
(09:10 +1300)
Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/glformats.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/glformats.c
b/src/mesa/main/glformats.c
index dfee6f1963f74b642c85243c7774d817df08eb5d..740faa890d43c81126117531116c5b15d0d16b79 100644
(file)
--- a/
src/mesa/main/glformats.c
+++ b/
src/mesa/main/glformats.c
@@
-345,6
+345,11
@@
_mesa_bytes_per_vertex_attrib(GLint comps, GLenum type)
return sizeof(GLuint);
else
return -1;
+ case GL_UNSIGNED_INT_10F_11F_11F_REV:
+ if (comps == 3)
+ return sizeof(GLuint);
+ else
+ return -1;
default:
return -1;
}