mesa/src
Olivia Lee d0dd9ab2a8 panvk/csf: fix provoking vertex mode in partial secondary cmdbufs
For partial secondary cmdbufs, we emit FBDs/TDs in the primary cmdbuf
before calling the secondary. In order to set the provoking vertex mode
correctly here, we need to look at the mode set by pipelines bound in
the secondary cmdbuf.

This leaves one edge case: reemitting FBDs/TDs in a secondary cmdbuf
after a flush. If the secondary cmdbuf only contains vk_meta draws,
without ever binding a pipeline, we won't know which provoking vertex
mode to use here. This is actually okay, because in that case the
provoking vertex mode doesn't matter for any of the draws in the
secondary, and the FBDs/TDs will be reemitted on the primary with the
correct mode.

Fixes: 7a9f14d3c2 ("panvk: advertise VK_EXT_provoking_vertex")
Signed-off-by: Olivia Lee <olivia.lee@collabora.com>
Tested-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Reviewed-by: Ryan Mckeever <ryan.mckeever@collabora.com>
(cherry picked from commit 65406cf500)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35194>
2025-06-04 15:52:46 +02:00
..
amd radv/video: Limit 10bit H265 decode support to stoney and newer 2025-06-04 15:52:44 +02:00
android_stub
asahi asahi: build asahi_clc for -Dtools=asahi 2025-05-01 09:38:50 +02:00
broadcom v3d/compiler: Fix ub when using memcmp for texture comparisons. 2025-05-20 20:18:08 +02:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler nir/opt_varyings: fix mesh shader miss promote varying to flat 2025-06-04 15:52:45 +02:00
drm-shim
egl egl: fix sw fallback rejection in non-sw EGL_PLATFORM=device 2025-05-01 09:39:47 +02:00
etnaviv entaviv/isa: Silence warnings about non snake case names 2025-06-04 15:52:44 +02:00
freedreno st/mesa: fix _IntegerBuffers bitfield use 2025-05-20 20:18:08 +02:00
gallium pan/csf: rename cs_exception_handler to cs_function 2025-06-04 15:52:46 +02:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: get rid of logspam in virtualized case 2025-06-04 15:52:44 +02:00
glx Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel anv: don't use pipeline layout at descriptor bind 2025-06-04 15:52:45 +02:00
loader loader: Stop looking in ${libdir}/tls/ 2025-03-13 19:45:45 +00:00
mapi Get rid of 5 remaining references to glapitable.h 2025-04-27 11:44:57 +02:00
mesa mesa: extend linear_as_nearest work around 2025-06-04 15:52:45 +02:00
microsoft ci/microsoft: Add job timeouts and pin Piglit to GSt 2025-04-01 12:21:01 +00:00
nouveau nvk: Allocate the correct VAB size on Kepler 2025-06-04 15:52:46 +02:00
panfrost panvk/csf: fix provoking vertex mode in partial secondary cmdbufs 2025-06-04 15:52:46 +02:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util util: add workaround for the game Foundation 2025-06-04 15:52:45 +02:00
virtio virtio/vpipe: Correct vdrm_vpipe_connect() definition 2025-05-07 09:04:50 +02:00
vulkan vulkan/wsi/wayland: make needs_color_surface_old check if surface exists 2025-05-20 20:18:08 +02:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format radv: Add radv_foreach_stage to ForEachMacros again. 2025-04-11 18:01:47 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00