diff options
author | Dave Airlie <[email protected]> | 2010-09-24 14:58:15 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-24 14:59:19 +1000 |
commit | 59276b8541049a2d07d32fbb139fb14e21e387fc (patch) | |
tree | 26c9ac7a609d6073f68070dbaede7389c580a711 /src/gallium/drivers/r600/r600_context.h | |
parent | e74d26d82ab6e4b21c6220d8f599f69ab2acf01e (diff) |
r600g: fixup VP->FP output->input routing.
We need to map the TGSI semantics to each other using the hw semantic ids.
this fixes glsl-kwin-blur and glsl-routing.
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_context.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h index c15e64329d8..aec0dab338c 100644 --- a/src/gallium/drivers/r600/r600_context.h +++ b/src/gallium/drivers/r600/r600_context.h @@ -279,6 +279,7 @@ extern int r600_pipe_shader_create(struct pipe_context *ctx, const struct tgsi_token *tokens); extern int r600_pipe_shader_update(struct pipe_context *ctx, struct r600_context_state *rstate); +extern int r600_find_vs_semantic_index(struct r600_context *rctx, struct r600_shader *rshader, int id); #define R600_ERR(fmt, args...) \ fprintf(stderr, "EE %s/%s:%d - "fmt, __FILE__, __func__, __LINE__, ##args) |