diff options
author | Eric Anholt <[email protected]> | 2010-10-01 11:44:27 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-10-01 12:19:21 -0700 |
commit | ff5ce9289b5159e7de34706b31be771d3e3cefd6 (patch) | |
tree | 07ab05fbc80408a321420621ebc801466f5ea473 | |
parent | 354c40a62411262d1223f439fdaf2176ca9adbe9 (diff) |
i965: Also increment attribute location when skipping unused slots.
Fixes glsl1-texcoord varying.
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index 1968e7fde0e..95671412296 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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; } |