[Mesa-dev] [PATCH] i965: Make try_rewrite_rhs_to_dst compare VGRF size to regs written.

Eric Anholt eric at anholt.net
Mon Dec 10 18:44:33 PST 2012

Kenneth Graunke <kenneth at whitecape.org> writes:
> Amnesia: The Dark Descent hits this case: a texturing instruction
> (4 components) gets rewritten to the gl_FragData output register
> (which was 4*3 = 12 components), causing the register allocator to
> hit the "we rely on split_virtual_grfs" assertion.
> This makes it possible to play Amnesia.
> NOTE: This is a candidate for stable release branches.

No particular reason to, since the register allocation changes that make
this necessary aren't on release branches.

other than that,

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- 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/20121210/742ee88f/attachment.pgp>

More information about the mesa-dev mailing list