diff options
author | Zack Rusin <[email protected]> | 2010-06-10 15:23:01 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2010-06-10 15:23:01 -0400 |
commit | 29639932f7d42ce3eb2f4b487366c67bb0bc910b (patch) | |
tree | 86afae41db685308b38dc21af169b64635f77bfb /src/gallium/auxiliary/draw/draw_gs.h | |
parent | 226ff53e6386ba93fb7052c7eab7327a34fcdb83 (diff) |
draw: rewrite geometry shader pipeline
done to handle strips correctly as inputs - we need to decompose
the strips
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_gs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.h b/src/gallium/auxiliary/draw/draw_gs.h index a91f5313e21..65f0c61916e 100644 --- a/src/gallium/auxiliary/draw/draw_gs.h +++ b/src/gallium/auxiliary/draw/draw_gs.h @@ -57,9 +57,12 @@ struct draw_geometry_shader { unsigned emitted_vertices; unsigned emitted_primitives; - /* Extracted from shader: - */ - const float (*immediates)[4]; + float (*tmp_output)[4]; + unsigned vertex_size; + + unsigned in_prim_idx; + unsigned input_vertex_stride; + const float (*input)[4]; }; /* |