[Mesa-dev] [PATCH 06/14] i965/vs: Implement vec4_visitor::generate_tex().

Eric Anholt eric at anholt.net
Tue Dec 13 13:06:25 PST 2011


On Thu,  8 Dec 2011 17:07:57 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> +   if (inst->header_present) {
> +      /* Set up an implied move from g0 to the MRF. */
> +      src = retype(brw_vec8_grf(0, 0), BRW_REGISTER_TYPE_UW);
> +   }

It doesn't seem like UW could be the right answer here -- I would think
UD is the right format, if it has to be changed at all (though it looks
like gen6_resolve_implied_move retypes anyway, so this retype is irrelevant).

Actually, now that we don't do ALT_MODE any more, I think we wouldn't
even need to retype away from float in most cases.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111213/b821d193/attachment.pgp>


More information about the mesa-dev mailing list