summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
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/mesa/drivers
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/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_nir.c4
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_nir.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c
index bd91254f5bf..973a20c0b4e 100644
--- a/src/mesa/drivers/dri/i965/brw_nir.c
+++ b/src/mesa/drivers/dri/i965/brw_nir.c
@@ -364,7 +364,7 @@ enum brw_reg_type
brw_type_for_nir_type(nir_alu_type type)
{
switch (type) {
- case nir_type_unsigned:
+ case nir_type_uint:
return BRW_REGISTER_TYPE_UD;
case nir_type_bool:
case nir_type_int:
@@ -391,7 +391,7 @@ brw_glsl_base_type_for_nir_type(nir_alu_type type)
case nir_type_int:
return GLSL_TYPE_INT;
- case nir_type_unsigned:
+ case nir_type_uint:
return GLSL_TYPE_UINT;
default:
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
index 7e17a6a6246..8d2ebfb7c89 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_nir.cpp
@@ -1561,7 +1561,7 @@ glsl_type_for_nir_alu_type(nir_alu_type alu_type,
return glsl_type::vec(components);
case nir_type_int:
return glsl_type::ivec(components);
- case nir_type_unsigned:
+ case nir_type_uint:
return glsl_type::uvec(components);
case nir_type_bool:
return glsl_type::bvec(components);