anv: Drop alpha_to_coverage from the NULL FS optimization
Starting with Ivy Bridge, we implement alpha-to-coverage by writting
gl_SampleMask with a pattern based on alpha. This will show up in
wm_prog_data::uses_omask so we don't need to look at the key.
Fixes: 36ee2fd61c
("anv: Implement the basic form of VK_EXT_transform_feedback")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16506>
This commit is contained in:
parent
1b9248e761
commit
9fe6caf4e7
|
@ -1216,7 +1216,6 @@ anv_pipeline_compile_fs(const struct brw_compiler *compiler,
|
|||
if (fs_stage->key.wm.color_outputs_valid == 0 &&
|
||||
!fs_stage->prog_data.wm.has_side_effects &&
|
||||
!fs_stage->prog_data.wm.uses_omask &&
|
||||
!fs_stage->key.wm.alpha_to_coverage &&
|
||||
!fs_stage->prog_data.wm.uses_kill &&
|
||||
fs_stage->prog_data.wm.computed_depth_mode == BRW_PSCDEPTH_OFF &&
|
||||
!fs_stage->prog_data.wm.computed_stencil) {
|
||||
|
|
Loading…
Reference in New Issue