summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-10 14:40:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-10 14:40:05 +0000
commit6b563bda433cdcb18fd4107725f77f34f050940c (patch)
tree57e1182d766c6b1416b76d945460144418404bd5 /src/mesa/shader
parent5d4016943658756e60979057ec3dccf8f82033f0 (diff)
disable the pointer size assertions (bug 4021)
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/slang/slang_execute.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_execute.c b/src/mesa/shader/slang/slang_execute.c
index e45d2a4bc2..d47f3eaca2 100644
--- a/src/mesa/shader/slang/slang_execute.c
+++ b/src/mesa/shader/slang/slang_execute.c
@@ -192,10 +192,13 @@ int _slang_execute (const slang_assembly_file *file)
mach.exit = 0;
/* assume 32-bit machine */
+ /* XXX why???, disabling the pointer size assertions here.
+ * See bug 4021.
+ */
static_assert(sizeof (GLfloat) == 4);
- static_assert(sizeof (GLfloat *) == 4);
+ /*static_assert(sizeof (GLfloat *) == 4);*/
static_assert(sizeof (GLuint) == 4);
- static_assert(sizeof (GLuint *) == 4);
+ /*static_assert(sizeof (GLuint *) == 4);*/
dump (file);