summaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-04-02 08:54:41 -0600
committerBrian Paul <[email protected]>2014-04-02 13:58:05 -0600
commit2355a6441435b8e66a032c44f0794066338e30a3 (patch)
tree1a181f03282760a2ae5533bf9117071df96bc2be /src/glx/glxextensions.c
parent5a68f731029258ddede4bd5d578cee203f4a80b3 (diff)
cso: fix sampler view count in cso_set_sampler_views()
We want to call pipe->set_sampler_views() with count being the maximum of the old number of sampler views and the new number. This makes sure we null-out any old sampler views. We already do the same thing for sampler states in single_sampler_done(). Fixes some assertions seen in the VMware driver with XA tracker. Cc: "10.0" "10.1" <[email protected]> Reviewed-by: Thomas Hellstrom <[email protected]> Tested-by: Thomas Hellstrom <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/glx/glxextensions.c')
0 files changed, 0 insertions, 0 deletions