mesa/src
Jarred Davies 1115a29025 pvr: Fix segfaults when pDepthStencilAttachment is NULL
depth_stencil_attachment has been changed from a pointer to the attachment idx
to just the attachment idx, as this avoids the driver having to check for NULL
when comparing attachments indexes with depth_stencil_attachment.

Anyplace that relies on depth_stencil_attachment being a valid index must
already check that depth_stencil_attachment is not VK_ATTACHMENT_UNUSED, so
this change avoids having to check both the pointer and the index for the same
information.

Noticed when running dEQP-VK.api.smoke.triangle

Signed-off-by: Jarred Davies <jarred.davies@imgtec.com>

Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21690>
2023-03-14 19:27:27 +00:00
..
amd ci/b2c: move away from the hand-rolled initscript 2023-03-14 17:22:07 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi agx: Lower discard late 2023-03-11 23:34:56 +00:00
broadcom ci/broadcom: move rare failure to the flakes 2023-03-14 18:26:31 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir/algebraic: remove duplicate bool conversion lowerings 2023-03-11 17:21:38 +00:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl yegl/wayland: fix glthread deadlocks 2023-03-13 18:28:15 +00:00
etnaviv ci/etnaviv: Drop the dEQP-GLES2.functional.uniform_api.random.94 xfail. 2023-03-07 21:03:33 +00:00
freedreno tu: fix tu_GetInstanceProcAddr not handling null instance 2023-03-13 19:31:33 +00:00
gallium ci/b2c: move away from the hand-rolled initscript 2023-03-14 17:22:07 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
gtest
imagination pvr: Fix segfaults when pDepthStencilAttachment is NULL 2023-03-14 19:27:27 +00:00
imgui
intel anv: fix image height for field pictures. 2023-03-14 13:34:53 +00:00
loader loader: Use libdrm shim 2023-03-05 16:31:51 +00:00
mapi glthread: qualify the *cmd unmarshal parameter with restrict 2023-03-12 17:56:18 -04:00
mesa glthread: qualify the *cmd unmarshal parameter with restrict 2023-03-12 17:56:18 -04:00
microsoft meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00
nouveau nir: add assertions that loops don't have a Continue Construct 2023-02-21 10:41:11 +00:00
panfrost ci/panfrost: Add texturesize flake seen in the wild 2023-03-13 18:28:15 +00:00
tool pps: Fix build errors. 2023-03-13 01:22:46 +00:00
util Revert "driconf: add a workaround for plasmashell freezing" 2023-03-13 18:28:15 +00:00
virtio venus: make external fence and semaphore export async 2023-03-14 18:07:38 +00:00
vulkan vulkan/wsi: add a headless swapchain implementation/option 2023-03-14 14:03:31 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00