summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2019-01-16 00:09:27 +0100
committerKarol Herbst <[email protected]>2019-01-19 20:01:41 +0100
commit3afc1e068f9f3ad125decc2761f7c0cf1fe2c3a6 (patch)
tree7b7848ed692ba239c5f41f5cf0a130bb83234d64 /src/compiler/glsl
parent9b24028426702f8d4c8c1f563ff9d32b99532357 (diff)
nir: rename nir_var_ubo to nir_var_mem_ubo
Signed-off-by: Karol Herbst <[email protected]> Acked-by: Jason Ekstrand <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/glsl_to_nir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp
index 7a96957f27e..6246c998022 100644
--- a/src/compiler/glsl/glsl_to_nir.cpp
+++ b/src/compiler/glsl/glsl_to_nir.cpp
@@ -367,7 +367,7 @@ nir_visitor::visit(ir_variable *ir)
case ir_var_uniform:
if (ir->get_interface_type())
- var->data.mode = nir_var_ubo;
+ var->data.mode = nir_var_mem_ubo;
else
var->data.mode = nir_var_uniform;
break;