diff options
author | Dave Airlie <[email protected]> | 2016-10-20 12:05:44 +1000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-10-24 09:55:02 +0100 |
commit | 0f8b7f90d1e52343e04128bc55948c141a71d0ca (patch) | |
tree | b337532d0700896d39a27c20d5a2a1bb6bd04783 /src/amd/vulkan | |
parent | abf5327b86e53e664f312b3b441d0505d2b40032 (diff) |
radv: allow cmask transitions without fast clear
This fixes
dEQP-VK.pipeline.multisample.sampled_image*
These all render to multisampled image, and then
sample from it, so we must transition it correctly,
since we have a cmask and fmask this will cause
the correct transition.
Cc: "13.0" <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit a969548f59342330badf78ec7721a1ead7599a29)
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r-- | src/amd/vulkan/radv_cmd_buffer.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c index 3f1a6f42527..690c739c2ab 100644 --- a/src/amd/vulkan/radv_cmd_buffer.c +++ b/src/amd/vulkan/radv_cmd_buffer.c @@ -2163,9 +2163,6 @@ static void radv_handle_cmask_image_transition(struct radv_cmd_buffer *cmd_buffe radv_initialise_cmask(cmd_buffer, image, 0xffffffffu); } else if (radv_layout_has_cmask(image, src_layout) && !radv_layout_has_cmask(image, dst_layout)) { - - if (!cmd_buffer->device->allow_fast_clears) - return; radv_fast_clear_flush_image_inplace(cmd_buffer, image); } } |