On Thu, 8 Sep 2011 15:49:23 -0700, Kenneth Graunke <kenn...@whitecape.org> wrote: > + /* Initialize the rest of u/v/r with 0.0, for safety */ > + for (int i = ir->coordinate->type->vector_elements; i < 3; i++) { > + emit(BRW_OPCODE_MOV, fs_reg(MRF, base_mrf + mlen + i * 2), > fs_reg(0.0f)); > + } > +
Didn't we decide that it was not just "for safety", but that that text about out of bounds returning 0 was what made that code required?
pgpkZIOIxiMwG.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev