mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
radv: stop zeroing radv_sample_locations_state in barriers
This is useless because all fields should be correctly filled if the pNext struct is found. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15164>
This commit is contained in:
parent
612a12a42c
commit
b003a101ee
1 changed files with 1 additions and 1 deletions
|
|
@ -8403,7 +8403,7 @@ radv_barrier(struct radv_cmd_buffer *cmd_buffer, const VkDependencyInfoKHR *dep_
|
|||
|
||||
const struct VkSampleLocationsInfoEXT *sample_locs_info =
|
||||
vk_find_struct_const(dep_info->pImageMemoryBarriers[i].pNext, SAMPLE_LOCATIONS_INFO_EXT);
|
||||
struct radv_sample_locations_state sample_locations = {0};
|
||||
struct radv_sample_locations_state sample_locations;
|
||||
|
||||
if (sample_locs_info) {
|
||||
assert(image->flags & VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue