mesa/src
Samuel Pitoiset b6a69dbb40 radv: re-emit prolog inputs when the nontrivial divisors state changed
If the application first uses nontrivial divisors, the driver emits
the vertex shader VA to the upload BO rather than directly via the
user SGPRs locations. But, if the vertex input dynamic state changes,
the driver might select a different VS prolog that no longer needs
nontrivial divisors.

In this case, the driver needs to re-emit the prolog inputs because
otherwise the VS prolog will jump to the PC that is emitted via the
user SGPR locations, and the previous one was somewhere in the
upload BO...

This fixes a GPU hang with Bioshock and Zink.

Fixes: d9c7a17542 ("radv: enable VK_EXT_vertex_input_dynamic_state")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13377>
2021-10-22 09:47:50 +02:00
..
amd radv: re-emit prolog inputs when the nontrivial divisors state changed 2021-10-22 09:47:50 +02:00
android_stub android_stub: update platform headers to include atrace 2021-10-09 00:42:32 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom broadcom/compiler: fix assert that current instruction must be in current block 2021-10-22 05:39:05 +00:00
compiler isaspec: inherite parent's bitset gpu gen requirements 2021-10-21 18:59:57 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl/wayland: Properly clear stale buffers on resize 2021-10-16 19:13:58 +00:00
etnaviv etnaviv: move drm version readout to drm layer 2021-10-01 10:13:32 +00:00
freedreno freedreno/ir3: Fix validation of subgroup macros 2021-10-21 18:59:57 +00:00
gallium crocus: Replace devinfo->ver[x10] checks with GFX_VER[x10] 2021-10-22 06:19:15 +00:00
gbm gbm: assume USE_SCANOUT in create_with_modifiers 2021-10-01 00:02:36 +02:00
getopt
glx meson: use gtest protocol for gtest based tests when possible 2021-10-16 03:22:24 +00:00
gtest
hgl
imgui
intel intel: Drop Tigerlake revision 0 workarounds 2021-10-21 16:53:43 -07:00
loader gallium/dri: let the driver know if the imported image is DRI_PRIME buffer 2021-10-18 16:24:00 +02:00
mapi meson: use gtest protocol for gtest based tests when possible 2021-10-16 03:22:24 +00:00
mesa mesa: discard draws with count=0 to decrease overhead 2021-10-21 21:16:13 +00:00
microsoft nir: s/nir_var_mem_image/nir_var_image/g 2021-10-16 03:47:10 +00:00
nouveau
panfrost ci/deqp-runner: Use new deqp-runner's built-in renderer/version checks. 2021-10-21 07:34:19 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util util: Move freedreno's snorm-to-unorm to util/, adding remaining cases. 2021-10-21 08:46:31 +00:00
virtio venus: Use the common WSI wrappers 2021-10-13 00:06:15 +00:00
vulkan vk/format, v3dv: Add a vulkan -> pipe swizzle helper 2021-10-18 16:00:38 +00:00
meson.build radv: Allow building when LLVM isn’t enabled 2021-10-01 10:40:18 +02:00