diff options
author | Marek Olšák <[email protected]> | 2012-10-05 04:02:22 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-10 00:16:38 +0200 |
commit | a50edc8ed84c4c48c0dc8e1a079e8d5e8f1c3a0e (patch) | |
tree | 726615b19ce15b30522767c1911e7c2760ebf970 /src/gallium/drivers/r600/r600_asm.h | |
parent | 8bf7044ec6ab041ebeb1db9ebe378f8e1f455f4e (diff) |
r600g: atomize fetch shader
The state object is actually a buffer, it's literally a buffer containing
the shader code.
Reviewed-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h index 403365ba07b..d8f258fb10a 100644 --- a/src/gallium/drivers/r600/r600_asm.h +++ b/src/gallium/drivers/r600/r600_asm.h @@ -25,7 +25,6 @@ #include "r600.h" -struct r600_vertex_element; struct r600_context; struct r600_bytecode_alu_src { @@ -237,7 +236,9 @@ void r600_bytecode_alu_read(struct r600_bytecode_alu *alu, uint32_t word0, uint3 int cm_bytecode_add_cf_end(struct r600_bytecode *bc); -int r600_vertex_elements_build_fetch_shader(struct r600_context *rctx, struct r600_vertex_element *ve); +void *r600_create_vertex_fetch_shader(struct pipe_context *ctx, + unsigned count, + const struct pipe_vertex_element *elements); /* r700_asm.c */ void r700_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf); |