Module: Mesa
Branch: master
Commit: ed391a62f6123313d2c9f43d4ad350d16fd01840
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed391a62f6123313d2c9f43d4ad350d16fd01840

Author: Samuel Pitoiset <[email protected]>
Date:   Tue Mar  9 14:12:14 2021 +0100

radv: do not declare push constants for DCC decompress on compute

We don't use push constants at all.

Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9475>

---

 src/amd/vulkan/radv_meta_fast_clear.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd/vulkan/radv_meta_fast_clear.c 
b/src/amd/vulkan/radv_meta_fast_clear.c
index 5527b2fa4ca..b2540992457 100644
--- a/src/amd/vulkan/radv_meta_fast_clear.c
+++ b/src/amd/vulkan/radv_meta_fast_clear.c
@@ -135,8 +135,8 @@ create_dcc_compress_compute(struct radv_device *device)
                .sType = VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO,
                .setLayoutCount = 1,
                .pSetLayouts = 
&device->meta_state.fast_clear_flush.dcc_decompress_compute_ds_layout,
-               .pushConstantRangeCount = 1,
-               .pPushConstantRanges = 
&(VkPushConstantRange){VK_SHADER_STAGE_COMPUTE_BIT, 0, 8},
+               .pushConstantRangeCount = 0,
+               .pPushConstantRanges = NULL,
        };
 
        result = radv_CreatePipelineLayout(radv_device_to_handle(device),

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to