[Mesa-dev] [PATCH 4/7] mesa: Add missing _mesa_sizeof_glsl_type() for UNSIGNED_INT.
Eric Anholt
eric at anholt.net
Tue Sep 27 15:08:38 PDT 2011
Somehow we managed to get the unsigned int vectors, but not scalar.
Fixes _mesa_problem complaints in piglit's uint tests.
---
src/mesa/main/shaderapi.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 74997ea..3ce14d1 100644
--- 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:
--
1.7.5.4
More information about the mesa-dev
mailing list