mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
st/nine: Fix bad tracking of vs textures for NINESBT_ALL
Stateblocks with NINESBT_ALL should track all textures.
For better performance they have a faster path which
copies all the required.
This path was only tracking ps textures.
Fixes: https://github.com/iXit/Mesa-3D/issues/303
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
CC: "17.3 18.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 71eae7940e)
This commit is contained in:
parent
5baea7bb20
commit
ed83501745
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ nine_state_copy_common_all(struct NineDevice9 *device,
|
|||
|
||||
/* Textures */
|
||||
if (1) {
|
||||
for (i = 0; i < device->caps.MaxSimultaneousTextures; i++)
|
||||
for (i = 0; i < NINE_MAX_SAMPLERS; i++)
|
||||
NineStateBlock9_BindTexture(device, apply, &dst->texture[i], src->texture[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue