mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-31 15:40:24 +01:00
i965: Fix new FS gen6 interpolation for sparsely-populated arrays.
We'd overwrite the same element twice.
This commit is contained in:
parent
624ce6f61b
commit
cac04a9397
1 changed files with 1 additions and 1 deletions
|
|
@ -813,9 +813,9 @@ fs_visitor::emit_general_interpolation(ir_variable *ir)
|
|||
fs_reg(interp)));
|
||||
attr.reg_offset++;
|
||||
}
|
||||
attr.reg_offset -= type->vector_elements;
|
||||
|
||||
if (intel->gen < 6) {
|
||||
attr.reg_offset -= type->vector_elements;
|
||||
for (unsigned int c = 0; c < type->vector_elements; c++) {
|
||||
emit(fs_inst(BRW_OPCODE_MUL,
|
||||
attr,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue