projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Add a nir_foreach_variable macro
[mesa.git]
/
src
/
glsl
/
nir
/
nir_lower_io.c
diff --git
a/src/glsl/nir/nir_lower_io.c
b/src/glsl/nir/nir_lower_io.c
index f32c09d04a2ae3c59f44bbf5689e81d468acf07c..30fad855e6f1395c35a92c8bf5db467f45d6411f 100644
(file)
--- a/
src/glsl/nir/nir_lower_io.c
+++ b/
src/glsl/nir/nir_lower_io.c
@@
-47,7
+47,7
@@
nir_assign_var_locations(struct exec_list *var_list, unsigned *size,
{
unsigned location = 0;
-
foreach_list_typed(nir_variable, var, node
, var_list) {
+
nir_foreach_variable(var
, var_list) {
/*
* UBO's have their own address spaces, so don't count them towards the
* number of global uniforms