summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2014-10-15 13:56:48 -0700
committerJason Ekstrand <[email protected]>2015-01-15 07:18:59 -0800
commit4bb81f6d025adb647e31445b907cdad48003a3e9 (patch)
tree758d67676ee107b500d4ecaa649629217fb004cc /src/glsl
parentb092bc9805f0f28209fc70fb367e0dc26e294317 (diff)
Fix what I think are a few NIR typos
Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/nir/nir_opcodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glsl/nir/nir_opcodes.h b/src/glsl/nir/nir_opcodes.h
index 36a50d7ba77..bee4bd106b9 100644
--- a/src/glsl/nir/nir_opcodes.h
+++ b/src/glsl/nir/nir_opcodes.h
@@ -186,7 +186,7 @@ BINOP(isub, nir_type_int)
BINOP(fmul, nir_type_float)
BINOP(imul, nir_type_int) /* low 32-bits of signed/unsigned integer multiply */
BINOP(imul_high, nir_type_int) /* high 32-bits of signed integer multiply */
-BINOP(umul_high, nir_type_int) /* high 32-bits of unsigned integer multiply */
+BINOP(umul_high, nir_type_unsigned) /* high 32-bits of unsigned integer multiply */
BINOP(fdiv, nir_type_float)
BINOP(idiv, nir_type_int)
@@ -223,8 +223,8 @@ BINOP_COMPARE(ilt, nir_type_int)
BINOP_COMPARE(ige, nir_type_int)
BINOP_COMPARE(ieq, nir_type_int)
BINOP_COMPARE(ine, nir_type_int)
-BINOP_COMPARE(ult, nir_type_int)
-BINOP_COMPARE(uge, nir_type_int)
+BINOP_COMPARE(ult, nir_type_unsigned)
+BINOP_COMPARE(uge, nir_type_unsigned)
/** integer-aware GLSL-style comparisons that compare floats and ints */
BINOP_REDUCE(ball_fequal, 1, nir_type_bool, nir_type_float)