mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
i965: Clean up dead code from the VS get_constant/get_reladdr_constant split.
This commit is contained in:
parent
04de6861c1
commit
d0326e0e4e
1 changed files with 1 additions and 3 deletions
|
|
@ -868,8 +868,6 @@ get_constant(struct brw_vs_compile *c,
|
|||
assert(argIndex < 3);
|
||||
|
||||
if (c->current_const[argIndex].index != src->Index) {
|
||||
struct brw_reg addrReg = c->regs[PROGRAM_ADDRESS][0];
|
||||
|
||||
/* Keep track of the last constant loaded in this slot, for reuse. */
|
||||
c->current_const[argIndex].index = src->Index;
|
||||
|
||||
|
|
@ -882,7 +880,7 @@ get_constant(struct brw_vs_compile *c,
|
|||
const_reg, /* writeback dest */
|
||||
0, /* oword */
|
||||
0, /* relative indexing? */
|
||||
addrReg, /* address register */
|
||||
brw_null_reg(), /* address register */
|
||||
16 * src->Index, /* byte offset */
|
||||
SURF_INDEX_VERT_CONST_BUFFER /* binding table index */
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue