[Mesa-dev] [PATCH 7/7] st/mesa: enable GLSLOptimizeConservatively for drivers that want it
Eric Anholt
eric at anholt.net
Wed Jan 4 18:23:04 UTC 2017
Marek Olšák <maraeo at gmail.com> writes:
> From: Marek Olšák <marek.olsak at amd.com>
>
> GLSL compilation now takes 24% less time with the Gallium noop driver.
> I used my shader-db for the measurement. The difference for the whole
> radeonsi driver can be ~10%.
>
> The generated TGSI is mostly the same. For example, the compilation success
> rate with a TGSI->GCN bytecode converter without any optimizations is
> the same. Note that glsl_to_tgsi does its own copy propagation and simple
> register allocation.
Patches 3-7 are:
Reviewed-by: Eric Anholt <eric at anholt.net>
I'm looking forward to throwing this switch on vc4.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170104/bf802cd7/attachment.sig>
More information about the mesa-dev
mailing list