On Wed, Dec 31, 2014 at 8:04 PM, Kenneth Graunke <kenn...@whitecape.org> wrote:
> ir_to_mesa does this - apparently we just forgot or something.
>
> Without this, we'll guess the wrong texture swizzle (XYZW for color
> instead of XXX1 for depth) when doing precompiles.
>
> This cuts 26 shader recompiles in a time demo of "Counter Strike:
> Global Offensive" (58 -> 32) on Sandybridge.  Haswell still has 0
> recompiles.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87886
> Signed-off-by: Kenneth Graunke <kenn...@whitecape.org>
> ---

Nice work, Ken. Both are

Reviewed-by: Matt Turner <matts...@gmail.com>

I think this is a pretty good example of how important users' feedback
is. We probably wouldn't have discovered this otherwise.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to