summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_vs.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-08-09 20:59:44 -0600
committerBrian Paul <brianp@vmware.com>2012-08-16 09:01:31 -0600
commitbef196c7929606bb8c7e9c06fe83a90fc0d95f09 (patch)
tree39df5082e2c4e0e5e8a3df0561d4f271c690c297 /src/gallium/auxiliary/draw/draw_vs.c
parentdf87fb59136eb302d72eac4b58fd8ffb25989ed5 (diff)
downloadexternal_mesa3d-bef196c7929606bb8c7e9c06fe83a90fc0d95f09.zip
external_mesa3d-bef196c7929606bb8c7e9c06fe83a90fc0d95f09.tar.gz
external_mesa3d-bef196c7929606bb8c7e9c06fe83a90fc0d95f09.tar.bz2
draw: move tgsi-related state into a tgsi sub-struct
To better organize things a bit.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs.c b/src/gallium/auxiliary/draw/draw_vs.c
index 56c4f88..0aea2f2 100644
--- a/src/gallium/auxiliary/draw/draw_vs.c
+++ b/src/gallium/auxiliary/draw/draw_vs.c
@@ -193,8 +193,8 @@ draw_vs_init( struct draw_context *draw )
{
draw->dump_vs = debug_get_option_gallium_dump_vs();
- draw->vs.machine = tgsi_exec_machine_create();
- if (!draw->vs.machine)
+ draw->vs.tgsi.machine = tgsi_exec_machine_create();
+ if (!draw->vs.tgsi.machine)
return FALSE;
draw->vs.emit_cache = translate_cache_create();
@@ -225,7 +225,7 @@ draw_vs_destroy( struct draw_context *draw )
}
}
- tgsi_exec_machine_destroy(draw->vs.machine);
+ tgsi_exec_machine_destroy(draw->vs.tgsi.machine);
}