summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vertex_fetch.c
diff options
context:
space:
mode:
authorBrian <brian@i915.localnet.net>2008-02-27 16:02:58 -0700
committerBrian <brian@i915.localnet.net>2008-02-27 16:02:58 -0700
commitcddeca51adf0d2b736a223e47b60f6ef3be85bff (patch)
tree6aa036301dcd1cd5cb4488742427fec2f5c6d7b8 /src/gallium/auxiliary/draw/draw_vertex_fetch.c
parent7df26d76d2a37e9e828296bfbcf7cec04bfbe233 (diff)
gallium: remove dependencies on pipe_shader_state's semantic info
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vertex_fetch.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_vertex_fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vertex_fetch.c b/src/gallium/auxiliary/draw/draw_vertex_fetch.c
index e13df04605..cb8cdd04a3 100644
--- a/src/gallium/auxiliary/draw/draw_vertex_fetch.c
+++ b/src/gallium/auxiliary/draw/draw_vertex_fetch.c
@@ -473,7 +473,7 @@ void draw_update_vertex_fetch( struct draw_context *draw )
if (!draw->vertex_shader)
return;
- nr_attrs = draw->vertex_shader->state->num_inputs;
+ nr_attrs = draw->vertex_shader->info.num_inputs;
for (i = 0; i < nr_attrs; i++) {
unsigned buf = draw->vertex_element[i].vertex_buffer_index;