[Mesa-dev] [PATCH 2/2] i965: Make the dummy fragment shader work in SIMD16 mode.

Eric Anholt eric at anholt.net
Sat Feb 18 17:21:55 PST 2012


On Sat, 18 Feb 2012 13:16:04 -0800, Kenneth Graunke <kenneth at whitecape.org> wrote:
> If you're resorting to the dummy shader, you've probably already turned
> off SIMD16 mode.  But if you didn't, it would die in a fire.
> 
> We could either fail to compile in SIMD16 mode...or just fix it.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_fs_visitor.cpp |   12 +++++++-----
>  1 files changed, 7 insertions(+), 5 deletions(-)
> 
> Now you can render solid pink twice as fast!  Wooooooooo.
> Well, not really.  But hey.  Why not.

I'd been meaning to try hooking this up again while thinking about
performance testing.  Thanks!

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/20120218/2e88adb4/attachment.pgp>


More information about the mesa-dev mailing list