diff options
author | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-01 15:14:19 -0700 |
---|---|---|
committer | Corbin Simpson <MostAwesomeDude@gmail.com> | 2009-04-01 15:14:19 -0700 |
commit | c4fb791909e687d5af5b95d88ebd6332c82c3095 (patch) | |
tree | 3be4539549c30c41caa356e2750e5a4e5a1ef971 /src/gallium/drivers/r300/r300_state_tcl.h | |
parent | 8d72caea3f10a26e4b11a522f4f973ce61f95127 (diff) |
r300-gallium: Add vertex shader for surface_copy.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_tcl.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_tcl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_tcl.h b/src/gallium/drivers/r300/r300_state_tcl.h index bc22cd984d..06767c9b02 100644 --- a/src/gallium/drivers/r300/r300_state_tcl.h +++ b/src/gallium/drivers/r300/r300_state_tcl.h @@ -79,6 +79,19 @@ static struct r300_vertex_shader r300_passthrough_vertex_shader = { .instructions[1].inst3 = 0x0, }; +static struct r300_vertex_shader r300_texture_vertex_shader = { + /* XXX translate these back into normal instructions */ + .instruction_count = 2, + .instructions[0].inst0 = 0xF00203, + .instructions[0].inst1 = 0xD10001, + .instructions[0].inst2 = 0x1248001, + .instructions[0].inst3 = 0x0, + .instructions[1].inst0 = 0xF00203, + .instructions[1].inst1 = 0xD10061, + .instructions[1].inst2 = 0x1248061, + .instructions[1].inst3 = 0x0, +}; + void r300_translate_vertex_shader(struct r300_context* r300, struct r300_vertex_shader* vs); |