summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-01 11:38:40 +1000
committerDave Airlie <[email protected]>2010-10-01 13:36:56 +1000
commite973221538d5edfad62abedf5b37a4fb774d71fc (patch)
tree770f59162db86e0fa8d8471cab9dad2157992d3b /src/gallium/drivers/r600/r600_shader.c
parent1d073cb2d920d1c0b8c6d598055b14048fedc96e (diff)
r600g: add assembler support for other vtx fetch fields.
this shouldn't change behaviour, just push the choice of what to do out to the shader.
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
-rw-r--r--src/gallium/drivers/r600/r600_shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
index a2091db460b..d35a99085dc 100644
--- a/src/gallium/drivers/r600/r600_shader.c
+++ b/src/gallium/drivers/r600/r600_shader.c
@@ -439,6 +439,7 @@ static int tgsi_declaration(struct r600_shader_ctx *ctx)
vtx.dst_sel_y = 1;
vtx.dst_sel_z = 2;
vtx.dst_sel_w = 3;
+ vtx.use_const_fields = 1;
r = r600_bc_add_vtx(ctx->bc, &vtx);
if (r)
return r;