GLSL IR vs. NIR FS instructions on snb: total instructions in shared programs: 4976784 -> 4973072 (-0.07%) instructions in affected programs: 3309521 -> 3305809 (-0.11%) helped: 7161 HURT: 9839 GAINED: 55 LOST: 23
GLSL IR vs. NIR FS instructions on ivb: total instructions in shared programs: 4593938 -> 4588496 (-0.12%) instructions in affected programs: 2948822 -> 2943380 (-0.18%) helped: 6878 HURT: 8801 GAINED: 69 LOST: 44 GLSL IR vs. NIR FS instructions on hsw: total instructions in shared programs: 4089459 -> 4081368 (-0.20%) instructions in affected programs: 2592474 -> 2584383 (-0.31%) helped: 6492 HURT: 9403 GAINED: 69 LOST: 32 GLSL IR vs. NIR FS instructions on bdw: total instructions in shared programs: 4065050 -> 4058653 (-0.16%) instructions in affected programs: 2555555 -> 2549158 (-0.25%) helped: 5910 HURT: 9765 GAINED: 45 LOST: 53 --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 3d4d31a..42f6604 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -3943,7 +3943,7 @@ fs_visitor::run_fs() * functions called "main"). */ if (shader) { - if (env_var_as_boolean("INTEL_USE_NIR", false)) { + if (env_var_as_boolean("INTEL_USE_NIR", brw->gen >= 6)) { emit_nir_code(); } else { foreach_in_list(ir_instruction, ir, shader->base.ir) { -- 2.3.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev