I think this should be "bool" here.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 07 Aug 2009 16:29:08 -0400
changeset 762 32ab4d54e48a
parent 761 3ccbd05350d6
child 763 ef6489e7e263
I think this should be "bool" here.
mojoshader.c
--- a/mojoshader.c	Thu Aug 06 14:46:32 2009 -0400
+++ b/mojoshader.c	Fri Aug 07 16:29:08 2009 -0400
@@ -1678,7 +1678,7 @@
     {
         case REG_TYPE_CONST: return "vec4";
         case REG_TYPE_CONSTINT: return "ivec4";
-        case REG_TYPE_CONSTBOOL: return "bvec4";
+        case REG_TYPE_CONSTBOOL: return "bool";
         default: fail(ctx, "BUG: used a uniform we don't know how to define.");
     } // switch