summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/vertexshader9.c
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-28 18:54:52 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commitfc49f7df8920df77dfbb0163a11486494f0c7883 (patch)
tree5c4d1e6c3f01c4d4fe2771f0dacb8752aa03fc70 /src/gallium/state_trackers/nine/vertexshader9.c
parentc7237e2c5c9935d80f04f2793bde9489ca6bda9d (diff)
st/nine: Rename cso in nine_context to cso_shader
This patch it to avoid name conflict when device->cso is moved to nine_context. 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 28c40f40d30..b1ee7acdaf1 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->context.cso.vs == var->cso)
+ if (This->base.device->context.cso_shader.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->context.cso.vs)
+ if (This->ff_cso == This->base.device->context.cso_shader.vs)
pipe->bind_vs_state(pipe, NULL);
pipe->delete_vs_state(pipe, This->ff_cso);
}