summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_state_tcl.h
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-31 18:58:03 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-31 18:58:03 -0700
commitddd0c94f0440cebc5e63afc1ae0300e0f51bc0a3 (patch)
tree272658a8e5357ace93bdf91ae20739e7ae0ca005 /src/gallium/drivers/r300/r300_state_tcl.h
parent63529c731a090c5e41c1224ca79b544243a1e570 (diff)
r300-gallium: Add vertex shader emit.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state_tcl.h')
-rw-r--r--src/gallium/drivers/r300/r300_state_tcl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_tcl.h b/src/gallium/drivers/r300/r300_state_tcl.h
index 54900cc191..1b44b9bb04 100644
--- a/src/gallium/drivers/r300/r300_state_tcl.h
+++ b/src/gallium/drivers/r300/r300_state_tcl.h
@@ -66,6 +66,18 @@ struct r300_vs_asm {
unsigned imm_count;
};
+static struct r300_vertex_shader r300_passthrough_vertex_shader = {
+ .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 = 0xD10021,
+ .instructions[1].inst2 = 0x1248021,
+ .instructions[1].inst3 = 0x0,
+};
+
void r300_translate_vertex_shader(struct r300_context* r300,
struct r300_vertex_shader* vs);