From: Brian Paul Date: Wed, 10 Aug 2005 14:40:05 +0000 (+0000) Subject: disable the pointer size assertions (bug 4021) X-Git-Tag: 062012170305~22238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6b563bda433cdcb18fd4107725f77f34f050940c;p=profile%2Fivi%2Fmesa.git disable the pointer size assertions (bug 4021) --- diff --git a/src/mesa/shader/slang/slang_execute.c b/src/mesa/shader/slang/slang_execute.c index e45d2a4..d47f3ea 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);