projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: Add nir_foreach_shader_in/out_variable helpers
[mesa.git]
/
src
/
gallium
/
drivers
/
lima
/
ir
/
gp
/
nir.c
diff --git
a/src/gallium/drivers/lima/ir/gp/nir.c
b/src/gallium/drivers/lima/ir/gp/nir.c
index 223db082424618b5e5e83ae733875e8ef01a74d5..fd7acc77773aaf2e2ac240afca66f65ff83ff6d1 100644
(file)
--- a/
src/gallium/drivers/lima/ir/gp/nir.c
+++ b/
src/gallium/drivers/lima/ir/gp/nir.c
@@
-487,7
+487,7
@@
bool gpir_compile_nir(struct lima_vs_shader_state *prog, struct nir_shader *nir,
if (!gpir_codegen_prog(comp))
goto err_out0;
- nir_foreach_
variable(var, &nir->outputs
) {
+ nir_foreach_
shader_out_variable(var, nir
) {
bool varying = true;
switch (var->data.location) {
case VARYING_SLOT_POS: