C buildfix
authorEthan Lee <flibitijibibo@flibitijibibo.com>
Sat, 25 Apr 2020 14:28:48 -0700
changeset 1249 349cc8980298
parent 1248 2f03f0b5ded3
child 1250 30f8b128b906
C buildfix
profiles/mojoshader_profile_spirv.c
--- a/profiles/mojoshader_profile_spirv.c	Sat Apr 25 09:28:02 2020 +0200
+++ b/profiles/mojoshader_profile_spirv.c	Sat Apr 25 14:28:48 2020 -0700
@@ -2316,10 +2316,10 @@
     spv_emit_vs_main_end(ctx);
     spv_emit_func_lit(ctx);
 
-    bool emit_vec4 = ctx->uniform_float4_count > 0 && ctx->spirv.uniform_arrays.idvec4;
-    bool emit_ivec4 = ctx->uniform_int4_count > 0 && ctx->spirv.uniform_arrays.idivec4;
-    bool emit_bool = ctx->uniform_bool_count > 0 && ctx->spirv.uniform_arrays.idbool;
-    bool emit_any = emit_vec4 | emit_ivec4 | emit_bool;
+    uint8 emit_vec4 = ctx->uniform_float4_count > 0 && ctx->spirv.uniform_arrays.idvec4;
+    uint8 emit_ivec4 = ctx->uniform_int4_count > 0 && ctx->spirv.uniform_arrays.idivec4;
+    uint8 emit_bool = ctx->uniform_bool_count > 0 && ctx->spirv.uniform_arrays.idbool;
+    uint8 emit_any = emit_vec4 | emit_ivec4 | emit_bool;
     if (ctx->spirv.mode == SPIRV_MODE_GL)
     {
         if (emit_vec4)