mesa/src
Lucas Stach 30fb1bffd6 etnaviv: only emit sampler config for changed samplers
Currently SAMPLER_CONFIG0 is always emitted to either update the active
configuration or disable the sampler. With NTE this always emits 32 state
dwords, while there are a lot of cases that only use a small number of
samplers and never change the other samplers from their disabled state.

Track the active samplers from the last emit, so we can skip the state
emission when the sampler is already disabled. Only emit the full state
after a context flush where we don't know the previous sampler state of
the GPU.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23579>
2023-06-13 18:16:26 +00:00
..
amd radv: tweak gfx pipeline stage binding 2023-06-13 17:27:05 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
broadcom treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP as it's not used anymore 2023-05-31 15:44:51 +00:00
compiler nir: Remove non-scoped barriers 2023-06-13 16:36:11 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl util: Replace all usage of PIPE_TIMEOUT_INFINITE with OS_TIMEOUT_INFINITE 2023-06-05 05:12:02 +00:00
etnaviv ci/etnaviv: add asan run 2023-06-08 22:30:30 +00:00
freedreno treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
gallium etnaviv: only emit sampler config for changed samplers 2023-06-13 18:16:26 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx Revert "glx: Remove pointless GLX_INTEL_swap_event paranoia" 2023-06-12 15:35:45 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Add support for sampler border colors 2023-06-08 10:33:46 +00:00
imgui
intel treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
loader loader: Replace usage of mtx_t with simple_mtx_t in loader/loader_dri3_helper.c 2023-05-31 15:44:50 +00:00
mapi mapi: Delete execmem support code. 2023-06-12 21:37:37 +00:00
mesa st/glsl: move linking code to the same st file 2023-06-13 02:25:54 +00:00
microsoft treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
nouveau treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
panfrost treewide: Remove use_scoped_barrier 2023-06-13 16:36:10 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util radv: Add driconf to force wave64 for RT 2023-06-12 18:36:56 +00:00
virtio venus: enable VK_EXT_color_write_enable 2023-06-08 21:08:13 +00:00
vulkan vulkan/wsi: Remove duplicate NULL check 2023-06-07 11:41:29 +00:00
.clang-format treewide: Add a .clang-format file 2023-05-29 21:06:12 +00:00
meson.build hgl: remove 2023-02-18 00:44:43 +00:00