summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_constant_expressions.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-05-15 09:14:47 -0700
committerIago Toral Quiroga <[email protected]>2015-11-23 08:36:12 +0100
commitf58813842bcece3498f55ec5d582466ccff92a5e (patch)
tree96cea63e39aca24e7dc70b3ff0aefc8fe84e5bcb /src/glsl/nir/nir_constant_expressions.py
parentfb93dd7aa8f2cac520bbbd3fc2af807bd2573480 (diff)
nir: s/nir_type_unsigned/nir_type_uint
v2: do the same in tgsi_to_nir (Samuel) v3: added missing cases after rebase (Iago) v4: Add a blank space after '#' in one of the comments (Matt) Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_constant_expressions.py')
-rw-r--r--src/glsl/nir/nir_constant_expressions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/nir/nir_constant_expressions.py b/src/glsl/nir/nir_constant_expressions.py
index 2ba8554645d..b16ef503c92 100644
--- a/src/glsl/nir/nir_constant_expressions.py
+++ b/src/glsl/nir/nir_constant_expressions.py
@@ -213,7 +213,7 @@ unpack_half_1x16(uint16_t u)
}
/* Some typed vector structures to make things like src0.y work */
-% for type in ["float", "int", "unsigned", "bool"]:
+% for type in ["float", "int", "uint", "bool"]:
struct ${type}_vec {
${type} x;
${type} y;