mesa/src
Pierre-Eric Pelloux-Prayer 64352ae8e4 mesa: restore call to _mesa_set_varying_vp_inputs from set_vertex_processing_mode
Otherwise ctx->VertexProgram._VaryingInputs might not be up to date.

We can't do this in update_program because this breaks vbo_save_playback_vertex_list_gallium:

  const GLbitfield enabled = node->enabled_attribs[mode];
  _mesa_set_varying_vp_inputs(ctx, enabled);              <-- update _VaryingInputs

  if (ctx->NewState)
     _mesa_update_state(ctx);                             <-- calls update_program, reverting the
                                                              change made above

Fixes: c97961a855 ("mesa: fix 38% decrease in display list performance of Viewperf2020/NX8_StudioAA")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9441
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25956>
2023-11-14 09:28:00 +00:00
..
amd radv: fix VRS subpass attachment when HTILE can't be enabled on GFX10.3 2023-11-14 09:02:46 +00:00
android_stub
asahi asahi: Implement ARB_base_instance 2023-11-07 00:05:55 +00:00
broadcom v3dv: implement VK_EXT_multi_draw 2023-11-14 06:20:21 +00:00
c11 util/meson: Getting mesa util core to be self contained 2023-08-02 03:41:24 +00:00
compiler nir: Add nvidia barrier intrinsics 2023-11-14 00:48:14 +00:00
drm-shim compiler,vulkan,drm-shim: Remove unused include directories from meson.build 2023-10-27 01:35:10 +00:00
egl mesa/st, dri2, wgl, glx: Modify flush_objects interop func to export a fence_fd 2023-11-04 01:28:42 +00:00
etnaviv ci/etnaviv: Update ci expectation 2023-11-07 13:34:54 +00:00
freedreno freedreno/drm: Fix mmap leak 2023-11-12 23:06:27 +00:00
gallium iris: add data cache flush for pre hiz op 2023-11-14 08:30:59 +00:00
gbm gbm: delete some zink handling 2023-10-09 18:43:09 +00:00
getopt
glx mesa/st, dri2, wgl, glx: Modify flush_objects interop func to export a fence_fd 2023-11-04 01:28:42 +00:00
gtest gtest: backport ansi color fix 2023-08-18 21:33:14 +00:00
imagination vk/graphics_state, tu: Rewrite renderpass flags handling 2023-11-06 14:33:51 +00:00
imgui
intel anv: Flush data cache while clearing depth using HIZ_CCS_WT 2023-11-14 08:30:59 +00:00
loader dri: added build dependencies for systems using non-standard prefixed X11 libs. 2023-11-02 15:08:17 +00:00
mapi mesa: add GL_APPLE_sync support 2023-10-20 17:20:11 +00:00
mesa mesa: restore call to _mesa_set_varying_vp_inputs from set_vertex_processing_mode 2023-11-14 09:28:00 +00:00
microsoft d3d12: Support enhanced layouts for VS inputs 2023-11-14 00:18:53 +00:00
nouveau nvk: Stop asserting 11-bit storage image handles 2023-11-14 00:48:15 +00:00
panfrost perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
tool perfetto/pps-producer: add optimized cpu/gpu timestamp correlation support 2023-11-09 13:22:48 +00:00
util radv: add drirc options to force re-compilation of shaders when needed 2023-11-13 10:47:26 +00:00
virtio venus: Add use_guest_vram capset to enable guest-based blob alloc 2023-11-06 18:33:15 +00:00
vulkan vulkan: Don't use set_foreach_remove when destroying pipeline caches 2023-11-13 20:09:31 +00:00
.clang-format util/rb_tree: Add augmented trees and interval trees 2023-11-02 21:03:46 +00:00
meson.build meson: Only include virtio when DRM available 2023-11-07 18:22:56 +00:00