diff options
author | José Fonseca <[email protected]> | 2011-09-23 19:55:47 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-09-25 11:04:31 +0100 |
commit | 102bf6e2a70f565f03d5e9c4995b29d61c0aa165 (patch) | |
tree | 23467d880e597168f725bd040bb801cd07750745 /src/gallium/auxiliary/draw/draw_context.h | |
parent | fc31f9a3f255c5565ce2a3e9c73415bc17199e28 (diff) |
draw: Never allocate duplicate extra vertex attribs.
Prevents mismatches when the VS outputs generic attributes not used by
the FS.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.h b/src/gallium/auxiliary/draw/draw_context.h index 9a7bf361393..799eb94f013 100644 --- a/src/gallium/auxiliary/draw/draw_context.h +++ b/src/gallium/auxiliary/draw/draw_context.h @@ -96,6 +96,9 @@ boolean draw_install_pstipple_stage(struct draw_context *draw, struct pipe_context *pipe); +struct tgsi_shader_info * +draw_get_shader_info(const struct draw_context *draw); + int draw_find_shader_output(const struct draw_context *draw, uint semantic_name, uint semantic_index); |