diff options
author | Jason Ekstrand <jason.ekstrand@collabora.com> | 2022-05-13 17:01:06 -0500 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2022-05-27 14:33:53 +0000 |
commit | 9fe6caf4e707bad36c60262b5f28407309f922c7 (patch) | |
tree | 91dd6b2b6fb047e26d1279ab83934ede3c6a4d45 | |
parent | 1b9248e761d7ff04415326de18f8fc2468bcbcd3 (diff) |
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: 36ee2fd61c8f ("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>
-rw-r--r-- | src/intel/vulkan/anv_pipeline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 42e536c80a0..b410d803bc6 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -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) { |