v3dv: fix push constant range for texel buffer copy pipelines

As per get_texel_buffer_copy_fs(), we load 24 bytes of data.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11843>
This commit is contained in:
Iago Toral Quiroga 2021-07-12 12:38:05 +02:00 committed by Marge Bot
parent 4efbeafa44
commit 8c16b48009

View file

@ -176,7 +176,7 @@ create_texel_buffer_copy_pipeline_layout(struct v3dv_device *device,
.pSetLayouts = ds_layout,
.pushConstantRangeCount = 1,
.pPushConstantRanges =
&(VkPushConstantRange) { VK_SHADER_STAGE_FRAGMENT_BIT, 0, 20 },
&(VkPushConstantRange) { VK_SHADER_STAGE_FRAGMENT_BIT, 0, 24 },
};
result =