nir: Use nir_src_is_const and nir_src_as_* in core code
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 20 Oct 2018 14:10:02 +0000 (09:10 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 22 Oct 2018 19:24:15 +0000 (14:24 -0500)
commit16870de8a0aab97bd3534b660e7ea73e90ac11cd
tree6a2b213cc8f477bdb923b9aceb430715724cb7a1
parentce36f412c99340814c429f99694423af61825c64
nir: Use nir_src_is_const and nir_src_as_* in core code

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
17 files changed:
src/compiler/glsl/gl_nir_lower_samplers.c
src/compiler/nir/nir_deref.c
src/compiler/nir/nir_gather_info.c
src/compiler/nir/nir_gs_count_vertices.c
src/compiler/nir/nir_lower_clip.c
src/compiler/nir/nir_lower_indirect_derefs.c
src/compiler/nir/nir_lower_io.c
src/compiler/nir/nir_lower_io_arrays_to_elements.c
src/compiler/nir/nir_lower_locals_to_regs.c
src/compiler/nir/nir_lower_two_sided_color.c
src/compiler/nir/nir_lower_vars_to_ssa.c
src/compiler/nir/nir_opt_dead_cf.c
src/compiler/nir/nir_opt_find_array_copies.c
src/compiler/nir/nir_opt_intrinsics.c
src/compiler/nir/nir_opt_large_constants.c
src/compiler/nir/nir_split_vars.c
src/compiler/nir/tests/vars_tests.cpp