summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/slang')
-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 e45d2a4bc27..d47f3eaca24 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);