st/nine: Don't update unused world matrices
authorAxel Davy <davyaxel0@gmail.com>
Sun, 23 Sep 2018 20:28:07 +0000 (22:28 +0200)
committerAxel Davy <davyaxel0@gmail.com>
Fri, 26 Oct 2018 20:16:16 +0000 (22:16 +0200)
commita4e9bbb8f81f85f49d59dd472257ae3e034b91d9
tree0f6200bc09554709d325f9b102d03e04332fe00e
parent2e51c4c7cc43232cf13659f7fface771cd49037e
st/nine: Don't update unused world matrices

While to the application we have to track
accurately all 256 world matrices (including
in stateblocks), hw vertex processing enables
to set a limit to the number of world matrices
the hardware can access to in the advertised caps,
which is 8 for nine.

Thus don't bother in the stateblock code to send
the updated values for the unreachable matrices.

Signed-off-by: Axel Davy <davyaxel0@gmail.com>
src/gallium/state_trackers/nine/nine_state.c