st/nine: Do not set resource usage for SYSTEMMEM
authorAxel Davy <axel.davy@ens.fr>
Tue, 26 Jan 2016 16:02:53 +0000 (17:02 +0100)
committerAxel Davy <axel.davy@ens.fr>
Fri, 12 Feb 2016 22:26:36 +0000 (23:26 +0100)
commit77a5871c1dfcc2cf3032e873a5c7e4a2e7093889
tree1dad77eaa8f82ac97513a2a987d16b07d72842e5
parent9675fb6c681bf3441ee1d25e18b38faea5144524
st/nine: Do not set resource usage for SYSTEMMEM

We do not create a resource for SYSTEMMEM textures,
thus we do not need to set resource usage.

The only exception is vertexbuffer SYSTEMMEM, since
we do use a pipe resource for them.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/surface9.c
src/gallium/state_trackers/nine/texture9.c
src/gallium/state_trackers/nine/volume9.c