mesa/src
Charmaine Lee b46526b7a4 svga: fix persistent mapped surface update to constant buffer
Currently when a buffer is mapped with the persistent bit set and is
later bound as a constant buffer, the updated buffer content is not
properly updated to the constant buffer surface as the constant buffer
surface is different from the original buffer surface. Doing
a buffer copy to sync the content of the constant buffer will fix
the problem, but the buffer copy can be costly.
To properly fix the issue, instead of creating a secondary surface
for the constant buffer, the original buffer surface will be accessed as
a raw buffer.

This fixes the rendering issue running yuzu deko_basic.nro

Reviewed-by: Martin Krastev <krastevm@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25381>
2023-09-25 23:36:58 +00:00
..
amd radv/ci: skip dEQP-VK.robustness.* on Vangogh due to weird GPU hangs 2023-09-25 15:53:51 +00:00
android_stub
asahi treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
broadcom ci: update to vulkan-cts-1.3.6.3 2023-09-25 15:53:51 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler util: Use an opaque type for linear context 2023-09-25 17:26:17 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl egl/wayland: enable WL_bind_wayland_display for zink 2023-09-19 02:47:31 +00:00
etnaviv etnaviv: Fully replicate back stencil config 2023-08-22 12:00:27 +02:00
freedreno tu: Remove pipeline from state 2023-09-25 19:03:57 +00:00
gallium svga: fix persistent mapped surface update to constant buffer 2023-09-25 23:36:58 +00:00
gbm egl/drm: Assume modern DRI interface versions 2023-07-28 12:25:19 +00:00
getopt
glx glx: drop the 'libGL' log prefix 2023-09-18 07:45:27 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination pvr: Fix dynamic desc offset storage 2023-09-24 14:00:57 +00:00
imgui
intel ci: update to vulkan-cts-1.3.6.3 2023-09-25 15:53:51 +00:00
loader loader: add DRI_PRIME_DEBUG env var 2023-09-18 07:45:27 +00:00
mapi glthread: sync for VDPAU sync functions 2023-08-17 04:53:37 +00:00
mesa treewide: Drop nir_ssa_for_src users 2023-09-18 10:25:17 -04:00
microsoft microsoft/compiler: Fix printf formatting string issues 2023-09-22 10:47:33 -07:00
nouveau nvk: Advertise discreteQueuePriorities = 2 2023-09-25 22:06:26 +00:00
panfrost meson: Remove unnecessary inc_compiler mentions 2023-09-22 14:52:50 +00:00
tool pps-producer: add ability to select device with DRI_PRIME 2023-09-07 10:44:51 +00:00
util util: Add a few basic tests for linear_alloc 2023-09-25 17:26:17 +00:00
virtio virgl: report MIRROR_CLAMP features better 2023-09-25 22:51:20 +00:00
vulkan compiler: Use a meson dependency for libcompiler 2023-09-22 14:52:50 +00:00
.clang-format nir: Add nir_foreach_block_in_cf_node_reverse 2023-09-22 10:05:58 +00:00
meson.build nvk: add vulkan skeleton 2023-08-04 21:31:52 +00:00