mesa/src
Kenneth Graunke 67038c6ba2 glsl: Add plumbing for handling uniform binding qualifiers.
Sampler uniforms and uniform blocks do not have a var->constant_value.
Instead, they have an integer var->binding value.

This makes extending set_uniform_initializer() somewhat problematic: it
assumes that there is an ir_constant * which represents the initializer,
and that it's safe to dereference that without any NULL checks.

Instead, this patch creates an analogous function for binding
qualifiers, and calls one or the other as appropriate.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
2013-07-18 16:57:24 -07:00
..
egl egl: Drop configs with unknown or invalide __DRI_ATTRIB_RENDER_TYPE 2013-07-18 16:03:42 -07:00
gallium llvmpipe: clamp inputs for srgb render buffers 2013-07-18 19:04:20 +02:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Add plumbing for handling uniform binding qualifiers. 2013-07-18 16:57:24 -07:00
glx glx: Enable floating-point fbconfig extensions 2013-07-18 16:03:42 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi glapi: Do not use backtrace on OpenBSD. 2013-07-16 09:00:38 -07:00
mesa i965: Combine URB code emission into a single group. 2013-07-18 16:57:21 -07:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00