nir: Add rounding modes enum
[mesa.git] / src / compiler / nir / nir_lower_samplers.c
index f75fb1afe886f433c97d45e9a44aecf582f1575d..9aa4a9e967f25761ed23638ca9a69871f3a53418 100644 (file)
@@ -157,7 +157,8 @@ nir_lower_samplers(nir_shader *shader,
 
    nir_foreach_function(function, shader) {
       if (function->impl)
-         progress |= lower_impl(function->impl, shader_program, shader->stage);
+         progress |= lower_impl(function->impl, shader_program,
+                                shader->info.stage);
    }
 
    return progress;