summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-05 16:00:23 +1000
committerDave Airlie <[email protected]>2010-10-05 16:00:23 +1000
commitd2c06b5037fe9282cbbc0c7acd84a1b286716507 (patch)
tree55f9e23f48be24413f80213b177fdfcc6b144e75 /src/gallium/drivers/r600/r600_asm.c
parent46997d4fc27e62a1c479f25f5f441b95e6d5cb64 (diff)
r600g: drop use_mem_constant.
since we plan on using dx10 constant buffers everywhere.
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.c')
-rw-r--r--src/gallium/drivers/r600/r600_asm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index f07af8126ce..d13da0ef638 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -465,8 +465,7 @@ int r600_bc_add_alu_type(struct r600_bc *bc, const struct r600_bc_alu *alu, int
bc->cf_last->ndw += 2;
bc->ndw += 2;
- if (bc->use_mem_constant)
- bc->cf_last->kcache0_mode = 2;
+ bc->cf_last->kcache0_mode = 2;
/* process cur ALU instructions for bank swizzle */
if (alu->last) {