Module: Mesa Branch: 7.10 Commit: 8604d91ae45d81e517ad5daab617d1474a6e7248 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8604d91ae45d81e517ad5daab617d1474a6e7248
Author: Eric Anholt <[email protected]> Date: Tue Dec 28 17:19:10 2010 -0800 i965: Do lowering of array indexing of a vector in the FS. Fixes a regression in ember since switching to the native FS backend, and the new piglit tests glsl-fs-vec4-indexing-{2,3} for catching this. (cherry picked from commit df4d83dca4618eb7077637865763d3e9ab750d11) --- 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 30b2869..22e6e2e 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -118,6 +118,7 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *prog) lower_if_to_cond_assign(shader->ir, 16); do_lower_texture_projection(shader->ir); + do_vec_index_to_cond_assign(shader->ir); brw_do_cubemap_normalize(shader->ir); do { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
