mesa/src
Alyssa Rosenzweig 23601d6632 zink: fix gl_PrimitiveID reads with quads
Zink emulates quads with a GS, which imposes requirements for gl_PrimitiveID.
Handle them here. Previously Zink went out of spec.

Fixes spec@glsl-1.50@execution@primitive-id-no-gs-quads and
spec@glsl-1.50@execution@primitive-id-no-gs-quad-strip.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Reviewed-by: Antonino Maniscalco <antomani103@gmail.com>
Fixes: e2220ee55e ("zink: filled quad emulation gs generation function")
Closes: #12214
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32397>
2024-12-03 00:24:04 +00:00
..
amd treewide: Stop putting enum in front of Vulkan enum types 2024-12-02 17:22:49 +00:00
android_stub vulkan/android: Add helper to probe AHB support 2024-05-14 14:53:44 +00:00
asahi hk: claim 1.4 2024-12-02 19:26:47 +00:00
broadcom v3dv: Switch to use libbroadcom_perfcntr 2024-12-02 14:13:24 +00:00
c11 build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
compiler nir/algebraic: Reassociate fadd into fmul in DP4-like pattern 2024-12-02 13:15:16 +00:00
drm-shim drm-shim: stub synobj_timeline_wait and query ioctl 2024-07-16 11:17:59 +02:00
egl meson: drop unused variables 2024-11-26 20:45:41 +00:00
etnaviv etnaviv: drm: use list_first_entry 2024-11-20 13:08:28 +00:00
freedreno tu: Expose Vulkan 1.4 on a7xx 2024-12-02 21:22:44 +00:00
gallium zink: fix gl_PrimitiveID reads with quads 2024-12-03 00:24:04 +00:00
gbm Revert "gbm: mark surface buffers as explicit flushed" 2024-11-27 22:48:04 +00:00
getopt build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
gfxstream meson: drop unused variables 2024-11-26 20:45:41 +00:00
glx glx: return BadMatch for invalid reset notification strategy 2024-11-27 19:00:20 +00:00
gtest build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
imagination pco: initial validation boilerplate and SSA checks 2024-11-29 15:14:12 +00:00
imgui
intel anv: bump conformance version to 1.4 2024-12-02 21:56:40 +00:00
loader loader: Fix typo in __DRI_IMAGE_FORMAT_XBGR16161616 definition 2024-10-25 14:18:24 +00:00
mapi meson: remove selinux option 2024-10-21 01:14:35 +00:00
mesa mesa: error-check GL_TEXTURE_TILING_EXT params 2024-11-29 13:48:27 +00:00
microsoft microsoft/compiler: Put holes in driver_location based on I/O variable sizes 2024-12-02 22:40:39 +00:00
nouveau nvk: Move Vulkan 1.4 properties to the 1.4 section 2024-12-02 23:20:07 +00:00
panfrost panvk: enable shaderInt8, VK_KHR_8bit_storage and VK_KHR_shader_float16_int8 2024-12-02 20:58:23 +00:00
tool perfetto: Add Panfrost data sources to system.cfg 2024-08-22 18:33:45 +00:00
util util/perf: Fix some warnings. 2024-12-02 15:15:52 +00:00
virtio treewide: Stop putting enum in front of Vulkan enum types 2024-12-02 17:22:49 +00:00
vulkan vulkan: Update XML and headers to 1.4.303 2024-12-02 17:22:49 +00:00
x11 meson: require dri3 modifiers 2024-09-06 17:34:17 +00:00
.clang-format nir: add helpers for precompiled shaders 2024-11-28 17:34:12 +00:00
meson.build meson: simplify logic a bit 2024-11-26 20:45:41 +00:00