mesa/src/compiler
Dave Airlie 52801766a0 glsl/ir: add param index to variable.
We have a requirement to store the index into the mesa parameterlist
for uniforms. Up until now we've overwritten var->data.location with
this info. However this then stops us accessing UniformStorage,
which is needed to do proper dereferencing.

Add a new variable to ir_variable to store this value in, and change
the two uses to use it correctly.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2016-02-09 10:52:08 +10:00
..
glsl glsl/ir: add param index to variable. 2016-02-09 10:52:08 +10:00
nir nir: Add lowering support for unpacking opcodes. 2016-02-01 10:43:57 -08:00
.gitignore compiler: fix .gitignore for glsl_compiler 2016-02-03 13:32:46 -05:00
Android.gen.mk nir: move to compiler/ 2016-01-26 16:08:30 +00:00
Android.mk nir: move to compiler/ 2016-01-26 16:08:30 +00:00
builtin_type_macros.h compiler: introduce a libcompiler static library 2016-01-26 16:07:27 +00:00
glsl_types.cpp glsl: always initialize image_* fields, copy them on interface init 2016-01-29 21:04:56 -05:00
glsl_types.h glsl: always initialize image_* fields, copy them on interface init 2016-01-29 21:04:56 -05:00
Makefile.am glsl: Ensure glsl/ exists before making the lexer/parser. 2016-02-04 09:31:17 -08:00
Makefile.sources glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
nir_types.cpp glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
nir_types.h compiler: move the glsl_types C wrapper alongside their C++ brethren 2016-01-26 16:08:27 +00:00
SConscript glsl: move to compiler/ 2016-01-26 16:08:33 +00:00
shader_enums.c nir: move shader_enums.[ch] to compiler 2016-01-26 16:08:20 +00:00
shader_enums.h glsl: keep track of ssbo variable being accessed, add access params 2016-01-29 21:05:08 -05:00