diff options
author | Karol Herbst <[email protected]> | 2018-11-24 20:00:00 +0100 |
---|---|---|
committer | Karol Herbst <[email protected]> | 2018-12-02 00:05:04 +0100 |
commit | fc0139d28339f58bcbb4946fea7608ecdaff93e7 (patch) | |
tree | e84a8fcf1d84bafb16eb4300cda5447bbf1e56e9 /src/mesa/main/depth.c | |
parent | b6f095f7ce2988045daf32e03f7a4ecc5fb466bb (diff) |
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: 4d6fab245eec3880e2a59424a579851f44857ce8
"cso: don't track the number of sampler states bound"
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/main/depth.c')
0 files changed, 0 insertions, 0 deletions