On Sat, 2016-06-25 at 10:32 +0200, Gregory Hainaut wrote:
> Hello Timothy,
>
> On my use case: high FS frequency switches. Few sampler.
> Perf event (relative to nouveau_dri.so) goes from 5.01% to 1.68% for
> the _mesa_sampler_uniforms_pipeline_are_valid function.
>
I added this to the commit lo
Hello Timothy,
On my use case: high FS frequency switches. Few sampler.
Perf event (relative to nouveau_dri.so) goes from 5.01% to 1.68% for
the _mesa_sampler_uniforms_pipeline_are_valid function.
Unfortunately it didn't translate into measurable speed change. I have
too much FPS variation (cache
On Fri, 2016-06-24 at 10:07 +0200, Gregory Hainaut wrote:
> Code was inspired from _mesa_update_shader_textures_used
>
> However unlike _mesa_update_shader_textures_used that only check for
> a single
> stage, it will check all stages.
>
> It avoids to loop on all uniforms, only active samplers a
Code was inspired from _mesa_update_shader_textures_used
However unlike _mesa_update_shader_textures_used that only check for a single
stage, it will check all stages.
It avoids to loop on all uniforms, only active samplers are checked.
Signed-off-by: Gregory Hainaut
---
src/mesa/main/uniform_