aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vs_emit.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-09 09:36:17 -0800
committerEric Anholt <[email protected]>2010-12-09 20:25:34 -0800
commit15566183a64ef3f9940962a3b08b1c3469c98566 (patch)
treed5e5a457bf2e6645f4c741121de63ffc35c6d2e4 /src/mesa/drivers/dri/i965/brw_vs_emit.c
parent83bdd402aa3b83c121d6764328f831b1629e41a2 (diff)
i965: Add support for gen6 constant-index constant loading.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_emit.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vs_emit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c
index b7771e66d59..eccc6b7584e 100644
--- a/src/mesa/drivers/dri/i965/brw_vs_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c
@@ -1072,8 +1072,6 @@ get_constant(struct brw_vs_compile *c,
assert(argIndex < 3);
- assert(c->func.brw->intel.gen < 6); /* FINISHME */
-
if (c->current_const[argIndex].index != src->Index) {
/* Keep track of the last constant loaded in this slot, for reuse. */
c->current_const[argIndex].index = src->Index;