[2/3] radv: disable fast color clears for DCC and MSAA textures

Submitted by Samuel Pitoiset on Nov. 15, 2018, 2:35 p.m.

Details

Message ID 20181115143556.7794-3-samuel.pitoiset@gmail.com
State New
Headers show
Series "radv: some fixes for DCC/MSAA" ( rev: 1 ) in Mesa

Not browsing as part of any series.

Commit Message

Samuel Pitoiset Nov. 15, 2018, 2:35 p.m.
This is currently broken. My plan is to re-enable it once I
have figured why this breaks a few number of CTS.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
---
 src/amd/vulkan/radv_meta_clear.c | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index 35da8797f5..e15e76c619 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vulkan/radv_meta_clear.c
@@ -1145,6 +1145,9 @@  emit_fast_color_clear(struct radv_cmd_buffer *cmd_buffer,
 			if (!can_avoid_fast_clear_elim)
 				goto fail;
 
+			/* FIXME: Figure out how to do fast clears with MSAA. */
+			goto fail;
+
 			assert(radv_image_has_cmask(iview->image));
 
 			flush_bits = radv_clear_cmask(cmd_buffer, iview->image,