diff options
author | Brian Paul <[email protected]> | 2012-08-09 20:59:44 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-08-16 09:01:31 -0600 |
commit | bef196c7929606bb8c7e9c06fe83a90fc0d95f09 (patch) | |
tree | 39df5082e2c4e0e5e8a3df0561d4f271c690c297 /src/gallium/auxiliary/draw/draw_vs.c | |
parent | df87fb59136eb302d72eac4b58fd8ffb25989ed5 (diff) |
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.c | 6 |
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 56c4f882cae..0aea2f23a9e 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); } |