summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_nir_lower_push_constants.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_nir_lower_push_constants.c')
-rw-r--r--src/intel/vulkan/anv_nir_lower_push_constants.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_nir_lower_push_constants.c b/src/intel/vulkan/anv_nir_lower_push_constants.c
index ea39dc3..64c1553 100644
--- a/src/intel/vulkan/anv_nir_lower_push_constants.c
+++ b/src/intel/vulkan/anv_nir_lower_push_constants.c
@@ -26,7 +26,7 @@
void
anv_nir_lower_push_constants(nir_shader *shader)
{
- nir_foreach_function(shader, function) {
+ nir_foreach_function(function, shader) {
if (!function->impl)
continue;