summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/vertexshader9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-15 13:17:52 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:21 +0100
commit1b24d5e1f5450e51d79c22679fed5d4b9731004c (patch)
tree4b2accfb27790d504a955909de780a4d47e1971c /src/gallium/state_trackers/nine/vertexshader9.c
parente3c59fbd25dbad82f26bbaa260435c1557fa926d (diff)
st/nine: Introduce nine_context
nine_context is a new structure which goal will be to contain all internal states. It will be the states of the second thread in the to-be-introduced CSMT mode. This patch moves several internal states to nine_context, while the next patches add the other fields. Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/vertexshader9.c')
-rw-r--r--src/gallium/state_trackers/nine/vertexshader9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/vertexshader9.c b/src/gallium/state_trackers/nine/vertexshader9.c
index a8c7c9b97a8..6b053e466c1 100644
--- a/src/gallium/state_trackers/nine/vertexshader9.c
+++ b/src/gallium/state_trackers/nine/vertexshader9.c
@@ -116,7 +116,7 @@ NineVertexShader9_dtor( struct NineVertexShader9 *This )
do {
if (var->cso) {
- if (This->base.device->state.cso.vs == var->cso)
+ if (This->base.device->context.cso.vs == var->cso)
pipe->bind_vs_state(pipe, NULL);
pipe->delete_vs_state(pipe, var->cso);
}
@@ -131,7 +131,7 @@ NineVertexShader9_dtor( struct NineVertexShader9 *This )
}
if (This->ff_cso) {
- if (This->ff_cso == This->base.device->state.cso.vs)
+ if (This->ff_cso == This->base.device->context.cso.vs)
pipe->bind_vs_state(pipe, NULL);
pipe->delete_vs_state(pipe, This->ff_cso);
}