aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_nir_apply_dynamic_offsets.c')
-rw-r--r--src/intel/vulkan/anv_nir_apply_dynamic_offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c b/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c
index 545dd3f3b13..6a289539206 100644
--- a/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c
+++ b/src/intel/vulkan/anv_nir_apply_dynamic_offsets.c
@@ -137,7 +137,7 @@ anv_nir_apply_dynamic_offsets(struct anv_pipeline *pipeline,
if (!layout || !layout->stage[shader->stage].has_dynamic_offsets)
return;
- nir_foreach_function(shader, function) {
+ nir_foreach_function(function, shader) {
if (!function->impl)
continue;