X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir%2Fnir_gs_count_vertices.c;h=7342e4473df9a53bfa121c7e588d7ed1f84944dc;hb=4dfa7adc100061f96e15fcbbfa5f776cd6c5a94a;hp=9e7c4a11c12d5992222bf63409f9136d3e15ee53;hpb=707e72f13bb78869ee95d3286980bf1709cba6cf;p=mesa.git diff --git a/src/compiler/nir/nir_gs_count_vertices.c b/src/compiler/nir/nir_gs_count_vertices.c index 9e7c4a11c12..7342e4473df 100644 --- a/src/compiler/nir/nir_gs_count_vertices.c +++ b/src/compiler/nir/nir_gs_count_vertices.c @@ -55,7 +55,7 @@ nir_gs_count_vertices(const nir_shader *shader) { int count = -1; - nir_foreach_function(shader, function) { + nir_foreach_function(function, shader) { if (!function->impl) continue;