OSDN Git Service

st/nine: Reimplement nine_context_apply_stateblock
authorAxel Davy <axel.davy@ens.fr>
Tue, 1 Nov 2016 17:00:02 +0000 (18:00 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:22 +0000 (23:44 +0100)
commit97e4b65e7f7b675ca0d25b6dfe8cf299af2b7a3f
treedcdbee2f02e081520d144d22832f4b12734c1080
parent8d967abb98d766e44478e4cc78dc844c29d4d360
st/nine: Reimplement nine_context_apply_stateblock

The new version uses nine_context functions instead of
applying the changes directly to nine_context.
This will enable it to work with CSMT.

v2: Fix nine_context_light_enable_stateblock
The memcpy arguments were wrong, and the state
wasn't set dirty.

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