diff options
author | Jason Ekstrand <[email protected]> | 2015-10-02 16:39:51 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-10-02 21:21:00 -0700 |
commit | ca941799ce76eac8afe2503fbacffee057e949d3 (patch) | |
tree | 80e168eb3034239e4650e11ca934b4f55c1c1899 /src | |
parent | a2e1e3d325a70604151ef093ed741e60d078a21a (diff) |
i965/nir: Remove the prog parameter from brw_nir_lower_inputs
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_nir.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir.c b/src/mesa/drivers/dri/i965/brw_nir.c index cc9430c83e6..4f1965503ee 100644 --- a/src/mesa/drivers/dri/i965/brw_nir.c +++ b/src/mesa/drivers/dri/i965/brw_nir.c @@ -28,9 +28,7 @@ #include "program/prog_to_nir.h" static void -brw_nir_lower_inputs(nir_shader *nir, - const struct gl_program *prog, - bool is_scalar) +brw_nir_lower_inputs(nir_shader *nir, bool is_scalar) { nir_assign_var_locations(&nir->inputs, &nir->num_inputs, is_scalar ? type_size_scalar : type_size_vec4); @@ -141,7 +139,7 @@ brw_create_nir(struct brw_context *brw, /* Get rid of split copies */ nir_optimize(nir, is_scalar); - brw_nir_lower_inputs(nir, prog, is_scalar); + brw_nir_lower_inputs(nir, is_scalar); brw_nir_lower_outputs(nir, is_scalar); nir_assign_var_locations(&nir->uniforms, &nir->num_uniforms, |