OSDN Git Service

st/nine: Use CSO cache for sampler views
authorAxel Davy <axel.davy@ens.fr>
Thu, 14 May 2015 17:24:57 +0000 (19:24 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:48 +0000 (22:21 +0200)
commitf15ff98e2c53f6ce62443b24e3a9cf79c60ddff7
tree6578ff2431895b2da73d72b52a7793a923779ec5
parent98f786b270b3e55a1e8a7bdc8182e436702748a2
st/nine: Use CSO cache for sampler views

The CSO cache unbinds views that are not needed anymore,
which we don't do.
It checks for change before committing the views.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/nine_pipe.c
src/gallium/state_trackers/nine/nine_state.c
src/gallium/state_trackers/nine/nine_state.h