i965: Also increment attribute location when skipping unused slots.

Fixes glsl1-texcoord varying.
This commit is contained in:
Eric Anholt 2010-10-01 11:44:27 -07:00
parent 354c40a624
commit ff5ce9289b

View file

@ -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;
}