[Mesa-dev] [PATCH 2/2] glsl: Only call do_common_optimization once

Marek Olšák maraeo at gmail.com
Sun Nov 13 14:17:32 UTC 2016


> I've tested my private shader-db (26011 shaders, many games). I see
> only 2 regressions on radeonsi, both are changes in the code size:
>  WORST REGRESSIONS - Code Size
> Before     After     Delta Percentage
>  shaders/private/alien_isolation/788.shader_test [0]
>  8784      9080       296    3.37 %

This regression is fixed by "if" lowering.

Marek


More information about the mesa-dev mailing list