disable the pointer size assertions (bug 4021)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 10 Aug 2005 14:40:05 +0000 (14:40 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 10 Aug 2005 14:40:05 +0000 (14:40 +0000)
src/mesa/shader/slang/slang_execute.c

index e45d2a4bc2761224b18d7b1936d4ffa02129f45c..d47f3eaca244dc8e43c6e6616876e6912a6631dc 100644 (file)
@@ -192,10 +192,13 @@ int _slang_execute (const slang_assembly_file *file)
        mach.exit = 0;\r
 \r
        /* assume 32-bit machine */\r
+       /* XXX why???, disabling the pointer size assertions here.\r
+        * See bug 4021.\r
+        */\r
        static_assert(sizeof (GLfloat) == 4);\r
-       static_assert(sizeof (GLfloat *) == 4);\r
+       /*static_assert(sizeof (GLfloat *) == 4);*/\r
        static_assert(sizeof (GLuint) == 4);\r
-       static_assert(sizeof (GLuint *) == 4);\r
+       /*static_assert(sizeof (GLuint *) == 4);*/\r
 \r
        dump (file);\r
 \r