diff options
author | Eduardo Lima Mitev <[email protected]> | 2015-10-22 15:25:23 +0200 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-11-10 21:13:35 +0100 |
commit | 94ff35204dba0ddbd7f5c4342206c8acba22d32f (patch) | |
tree | 24ffbd63b7184b28da364307da7837c2295f1eac /src/mesa/drivers/dri/i965/brw_nir.h | |
parent | 96b22fb080894ba1840af2372f28a46cc0f40c76 (diff) |
nir/nir_opt_peephole_ffma: Move this lowering pass to the i965 driver
Because the next patch will add an optimization that is specific to i965,
we want to move this loweing pass to that driver altogether.
This is safe because i965 is the only consumer.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_nir.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_nir.h b/src/mesa/drivers/dri/i965/brw_nir.h index b4a6dc0f825..e7c93684fb3 100644 --- a/src/mesa/drivers/dri/i965/brw_nir.h +++ b/src/mesa/drivers/dri/i965/brw_nir.h @@ -94,6 +94,8 @@ void brw_nir_setup_glsl_uniforms(nir_shader *shader, void brw_nir_setup_arb_uniforms(nir_shader *shader, struct gl_program *prog, struct brw_stage_prog_data *stage_prog_data); +bool brw_nir_opt_peephole_ffma(nir_shader *shader); + #ifdef __cplusplus } #endif |