Skip to content
Snippets Groups Projects
Commit a7c4368a authored by Karol Herbst's avatar Karol Herbst :crab: Committed by Emil Velikov
Browse files

nv50,nvc0: Fix gallium nine regression regarding sampler bindings

The new approach is that samplers don't get unbound even if they won't be used
in a draw and we should just leave them be as well.

Fixes a regression in multiple windows games using gallium nine and nouveau.

v2: adjust num_samplers to keep track of the highest sampler bound
v3: rework how to set the new value of num_samplers

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106577


Fixes: 4d6fab24
       "cso: don't track the number of sampler states bound"
Signed-off-by: Karol Herbst's avatarKarol Herbst <kherbst@redhat.com>
Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit fc0139d2)
parent ab83cfd2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment