projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de6e74
)
mesa: Add missing _mesa_sizeof_glsl_type() for UNSIGNED_INT.
author
Eric Anholt
<eric@anholt.net>
Tue, 27 Sep 2011 21:36:07 +0000
(14:36 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 28 Sep 2011 19:09:09 +0000
(12:09 -0700)
Somehow we managed to get the unsigned int vectors, but not scalar.
Fixes _mesa_problem complaints in piglit's uint tests.
Reviewed-by: Chad Versace <chad@chad-versace.us>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/shaderapi.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index 74997eaaa771cdae54335e164334351acced7ed7..3ce14d15446beaef54682553a7d60e3198ba7083 100644
(file)
--- a/
src/mesa/main/shaderapi.c
+++ b/
src/mesa/main/shaderapi.c
@@
-137,6
+137,7
@@
_mesa_sizeof_glsl_type(GLenum type)
switch (type) {
case GL_FLOAT:
case GL_INT:
+ case GL_UNSIGNED_INT:
case GL_BOOL:
case GL_SAMPLER_1D:
case GL_SAMPLER_2D: