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: mesa/mesa!20285 Signed-off-by:Iago López Galeiras <iaguis@gmail.com>
parent
3fc6e787
Pipeline #761673 waiting for manual action
Stage: sanity
Stage: container
Stage: build-x86_64
Stage: build-misc
Stage: amd
Stage: intel
Stage: nouveau
Stage: arm
Stage: broadcom
Stage: freedreno
Stage: etnaviv
Stage: software-renderer
Loading
Please register or sign in to comment