[Mesa-dev] [PATCH 1/3] glsl: Use hash tables in opt_constant_variable().

Kenneth Graunke kenneth at whitecape.org
Tue Sep 8 02:34:16 PDT 2015


On Tuesday, September 08, 2015 08:15:11 AM Tapani Pälli wrote:
> I did not get as impressive results with these 3 patches (how did you 
> measure?) but on my machine (HSW GT2) complete shader_runner time goes 
> from ~83 secs to ~70secs so it is definitely improving.
> 
> I simply do 'time bin/shader_runner' for the measurement.
> 
> Tested-by: Tapani Pälli <tapani.palli at intel.com>

Oh, I downloaded the earlier bare .frag version:
https://bugs.freedesktop.org/attachment.cgi?id=118071

and then I ran (on my Lenovo X250 with an i7 5600u):

time shader_precompile=false glslparsertest --check-link obsfucated_shader.frag pass 3.30

Disabling the precompile removes the i965 backend time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150908/99c7ac62/attachment-0001.sig>


More information about the mesa-dev mailing list