mesa/src
Gregory Hainaut 6a524c76f5 mesa: faster validation of sampler unit mapping for SSO
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.

For my use case: high FS frequency switches with few samplers.
Perf event (relative to nouveau_dri.so) goes from 5.01% to 1.68% for
the _mesa_sampler_uniforms_pipeline_are_valid function.

Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
2016-07-05 16:44:31 +10:00
..
compiler glsl: add driconf to zero-init unintialized vars 2016-07-02 09:00:19 -04:00
egl Added pbuffer hooks for surfaceless platform 2016-06-14 08:51:02 -07:00
gallium nvc0/ir: rename NVE4_SU_INFO_XXX to NVC0_SU_INFO_XXX 2016-07-05 01:44:15 +02:00
gbm gbm: Fix comments 2016-06-23 13:55:03 -07:00
getopt
glx Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
gtest Remove wrongly repeated words in comments 2016-06-23 13:55:03 -07:00
hgl
intel anv/wsi: create swapchain images using specified image usage 2016-07-04 10:15:48 -07:00
loader Android: move libdrm settings to top-level Android.common.mk 2016-06-13 15:31:29 +01:00
mapi mapi: Export all GLES 3.1 functions in libGLESv2.so 2016-06-29 14:28:59 -07:00
mesa mesa: faster validation of sampler unit mapping for SSO 2016-07-05 16:44:31 +10:00
util mesa/gallium: Move u_bit_scan{,64} from gallium to util. 2016-06-14 05:19:10 +02:00
Makefile.am automake: get in-tree `make distclean' working again. 2016-06-13 15:24:44 +01:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00