mesa/src/compiler
Rhys Perry da8ed68aca nir: replace nir_move_load_const() with nir_opt_sink()
This is mostly the same as nir_move_load_const() but can also move
undef instructions, comparisons and some intrinsics (being careful with
loops).

v2: actually delete nir_move_load_const.c
v3: fix nir_opt_sink() usage in freedreno
v3: update Makefile.sources
v4: replace get_move_def with nir_can_move_instr and nir_instr_ssa_def
v4: handle if uses
v4: fix handling of nested loops
v5: re-write adjust_block_for_loops
v5: re-write setting of use_block for if uses

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Co-authored-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Eric Anholt <eric@anholt.net>
2019-08-12 22:01:30 +00:00
..
glsl glsl: Optimize the SoftFP64 shader when first creating it. 2019-08-12 10:42:32 -07:00
nir nir: replace nir_move_load_const() with nir_opt_sink() 2019-08-12 22:01:30 +00:00
spirv spirv: Drop lower_workgroup_access_to_offsets 2019-08-10 22:15:35 -07:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk
Android.mk
Android.nir.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.nir.mk
blob.c compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
blob.h compiler/blob: Add blob_skip_bytes 2018-07-09 23:02:33 -07:00
builtin_type_macros.h
glsl_types.cpp nir: add nir_lower_to_explicit() 2019-08-08 12:10:39 -05:00
glsl_types.h nir: add nir_lower_to_explicit() 2019-08-08 12:10:39 -05:00
Makefile.sources nir: replace nir_move_load_const() with nir_opt_sink() 2019-08-12 22:01:30 +00:00
meson.build meson: drop unused dep_{thread,dl} 2019-08-03 00:08:37 +00:00
nir_types.cpp nir: add nir_lower_to_explicit() 2019-08-08 12:10:39 -05:00
nir_types.h nir: add nir_lower_to_explicit() 2019-08-08 12:10:39 -05:00
SConscript
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir
SConscript.spirv
shader_enums.c glsl: Optionally declare gl_PointCoord as a system value 2019-07-18 13:20:39 +00:00
shader_enums.h compiler: add SYSTEM_VALUE_TESS_LEVEL_OUTER/INNER_DEFAULT 2019-08-12 14:52:17 -04:00
shader_info.h compiler: add shader_info.cs.user_data_components_amd 2019-08-12 14:52:17 -04:00