glsl: Remove opt_conditional_discard().
The nir_opt_conditional_discard pass is called anyway and covers discard/demote/terminate. iris shader-db: total instructions in shared programs: 8933422 -> 8933426 (<.01%) instructions in affected programs: 48 -> 52 (8.33%) helped: 0 HURT: 4 which is a synmark shader going from 12 to 13 instrs. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17664>
This commit is contained in:
@@ -178,7 +178,6 @@ files_libglsl = files(
|
||||
'lower_output_reads.cpp',
|
||||
'opt_algebraic.cpp',
|
||||
'opt_array_splitting.cpp',
|
||||
'opt_conditional_discard.cpp',
|
||||
'opt_constant_folding.cpp',
|
||||
'opt_constant_propagation.cpp',
|
||||
'opt_constant_variable.cpp',
|
||||
|
Reference in New Issue
Block a user