mesa/src/compiler
Nicolai Hähnle 1ef505bb02 glsl: compute lvalues of [in]out parameters before inlined function body
This is required when an out argument involves an array index that is either
a global variable modified by the function or another out argument in the
same function call.

Fixes the shaders/out-parameter-indexing/vs-inout-index-inout-* tests.

v2:
- modify the ir_dereference_array nodes in place
- use ir_hierarchical_visitor
v3: use base_ir (Ian Romanick)

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2016-11-02 12:32:47 +01:00
..
glsl glsl: compute lvalues of [in]out parameters before inlined function body 2016-11-02 12:32:47 +01:00
nir ralloc: use rzalloc where it's necessary 2016-10-31 11:53:38 +01:00
spirv ralloc: use rzalloc where it's necessary 2016-10-31 11:53:38 +01:00
.gitignore nir/spirv: Remove a duplicate spirv2nir from .gitignore 2016-10-04 07:43:15 -07:00
Android.glsl.gen.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.glsl.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.mk Android: glsl: add rules to generate ir_expression*.h header files 2016-09-06 15:58:55 +01:00
Android.nir.gen.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
Android.nir.mk compiler: android: flesh out nir into separate makefile 2016-04-11 19:08:23 +01:00
builtin_type_macros.h glsl: add subpass image type (v2) 2016-09-16 15:16:31 +10:00
glsl_types.cpp glsl: Fix reading of uninitialized memory 2016-10-31 11:53:38 +01:00
glsl_types.h glsl: initialize glsl_struct_field properly 2016-10-31 11:53:38 +01:00
Makefile.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.glsl.am glsl: Add pthread libs to cache_test 2016-10-27 09:49:35 +11:00
Makefile.nir.am compiler: avoid warning about redefinition of PYTHON_GEN 2016-10-26 14:54:26 +01:00
Makefile.sources compiler: automake: add shader_info.h to the sources list 2016-10-26 12:04:02 +01:00
nir_types.cpp nir: Delete open coded type printing. 2016-10-06 02:13:36 -07:00
nir_types.h nir: Delete open coded type printing. 2016-10-06 02:13:36 -07:00
SConscript glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
SConscript.glsl mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript.nir glsl: Generate ir_expression_operation.h from Python 2016-08-30 16:28:00 -07:00
shader_enums.c compiler: add printable values for cull distance varyings. 2016-10-04 10:15:23 +10:00
shader_enums.h compiler: update the comment for enum glsl_interp_mode 2016-10-26 14:29:36 +11:00
shader_info.h compiler: add additional cs metadata fields to shader info 2016-10-26 14:29:36 +11:00