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.
This commit is contained in:
Eric Anholt 2010-12-28 17:19:10 -08:00
parent 54df8e48bc
commit df4d83dca4

View file

@ -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 {