mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
i965: Also increment attribute location when skipping unused slots.
Fixes glsl1-texcoord varying.
This commit is contained in:
parent
354c40a624
commit
ff5ce9289b
1 changed files with 1 additions and 0 deletions
|
|
@ -786,6 +786,7 @@ fs_visitor::emit_general_interpolation(ir_variable *ir)
|
|||
* we'd fall over later trying to find the setup data.
|
||||
*/
|
||||
attr.reg_offset += type->vector_elements;
|
||||
location++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue