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

Tapani Pälli tapani.palli at intel.com
Tue Sep 8 03:58:05 PDT 2015



On 09/08/2015 12:34 PM, Kenneth Graunke wrote:
> 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.
>

OK, makes sense. These changes optimize the frontend portion of the 
whole cake.

// Tapani


More information about the mesa-dev mailing list