mesa/src
Iago López Galeiras 5f2171625b asahi: unbind samplers and fix sampler_count if state is NULL
When states is NULL, unbind samplers (to avoid dangling pointers) and
set sampler_count to the highest non-null samplers[] entry instead of
setting it to 0.

This is ported from a similar fix in panfrost:
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20285

Signed-off-by: Iago López Galeiras <iaguis@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20306>
2022-12-14 00:13:44 +00:00
..
amd radv/rt: Handle no-null shader flags 2022-12-13 23:30:28 +00:00
android_stub
asahi asahi: Model alignment of occlusion query indices 2022-12-10 21:51:04 -05:00
broadcom v3dv: Delete VK_KHR_device_group provided entrypoints 2022-12-09 14:07:17 -06:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir: validate that store_buffer_amd doesn't use a non-trivial writemask 2022-12-13 20:33:05 +00:00
drm-shim drm-shim: add __readlink_chk as readlink with overflow check 2022-12-08 21:05:15 +00:00
egl gallium: rename st_framebuffer_iface -> pipe_frontend_drawable, etc. 2022-12-09 13:14:03 +00:00
etnaviv tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
freedreno freedreno/registers: Add some docs for PM4 events. 2022-12-12 23:29:53 +00:00
gallium asahi: unbind samplers and fix sampler_count if state is NULL 2022-12-14 00:13:44 +00:00
gbm gbm: Don't look up the DRI2_FENCE extension. 2022-12-09 05:32:18 +00:00
getopt
glx glx: fix xshm check to init xshm_opcode. 2022-12-06 22:31:14 +00:00
gtest
hgl
imagination pvr: Check depth/stencil attachment is tile-aligned 2022-12-08 14:53:13 +00:00
imgui
intel anv: move functions around to plan for generated draws 2022-12-13 19:22:02 +00:00
loader dri: Introduce internal Mesa DRI driver loader extension. 2022-12-05 19:26:41 +00:00
mapi mapi: update gles 1.1 extention packet link 2022-11-20 15:14:01 +00:00
mesa mesa: move the _mesa_set_varying_vp_inputs call to where the state changes 2022-12-12 19:15:34 +00:00
microsoft microsoft/compiler: Fix codegen when a loop ends in a jump 2022-12-12 17:18:45 +00:00
nouveau drm-shim/nouveau: fix the shim to work with nvif ioctl. 2022-11-09 21:21:22 +00:00
panfrost panvk: Delete panvk_CmdSetDeviceMask, panvk_GetDeviceGroupPeerMemoryFeatures 2022-12-09 14:08:14 -06:00
tool pps: make pps-producer RT only on freedreno 2022-11-15 21:21:42 +00:00
util radv: Force non uniform texture sampling with NV Remix 2022-12-12 18:18:32 +00:00
virtio ci: Bump virglrenderer version 2022-12-12 15:49:08 +00:00
vulkan vk/descriptor_set_layout: Add optional destructor 2022-12-12 17:38:19 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00