Mesa (master): nir: make nir_const_value scalar
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Apr 14 20:26:09 UTC 2019
Module: Mesa
Branch: master
Commit: 14531d676b11999123c04fb7569ab80c9f150180
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=14531d676b11999123c04fb7569ab80c9f150180
Author: Karol Herbst <kherbst at redhat.com>
Date: Wed Mar 27 00:59:03 2019 +0100
nir: make nir_const_value scalar
v2: remove & operator in a couple of memsets
add some memsets
v3: fixup lima
Signed-off-by: Karol Herbst <kherbst at redhat.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net> (v2)
---
src/amd/common/ac_nir_to_llvm.c | 8 +-
src/broadcom/compiler/nir_to_vir.c | 2 +-
.../glsl/gl_nir_link_uniform_initializers.c | 10 +-
src/compiler/glsl/glsl_to_nir.cpp | 18 ++--
src/compiler/nir/nir.c | 49 +++++----
src/compiler/nir/nir.h | 39 ++++---
src/compiler/nir/nir_builder.h | 74 ++++++-------
src/compiler/nir/nir_clone.c | 2 +-
src/compiler/nir/nir_constant_expressions.h | 5 +-
src/compiler/nir/nir_constant_expressions.py | 48 ++++-----
src/compiler/nir/nir_format_convert.h | 23 ++--
src/compiler/nir/nir_instr_set.c | 52 ++++++---
src/compiler/nir/nir_loop_analyze.c | 63 +++++------
src/compiler/nir/nir_lower_bool_to_float.c | 4 +-
src/compiler/nir/nir_lower_bool_to_int32.c | 4 +-
src/compiler/nir/nir_lower_constant_initializers.c | 4 +-
src/compiler/nir/nir_lower_load_const_to_scalar.c | 10 +-
src/compiler/nir/nir_lower_system_values.c | 10 +-
src/compiler/nir/nir_lower_tex.c | 16 +--
src/compiler/nir/nir_opt_constant_folding.c | 24 +++--
src/compiler/nir/nir_opt_idiv_const.c | 8 +-
src/compiler/nir/nir_opt_if.c | 4 +-
src/compiler/nir/nir_opt_large_constants.c | 10 +-
src/compiler/nir/nir_print.c | 30 +++---
src/compiler/nir/nir_serialize.c | 4 +-
src/compiler/nir/tests/negative_equal_tests.cpp | 111 ++++++++++----------
src/compiler/spirv/spirv_to_nir.c | 116 +++++++++++----------
src/compiler/spirv/vtn_private.h | 8 +-
src/compiler/spirv/vtn_variables.c | 8 +-
src/freedreno/ir3/ir3_compiler_nir.c | 2 +-
src/freedreno/ir3/ir3_nir_lower_io_offsets.c | 2 +-
src/gallium/auxiliary/nir/tgsi_to_nir.c | 4 +-
src/gallium/drivers/freedreno/a2xx/ir2_nir.c | 6 +-
src/gallium/drivers/lima/ir/gp/nir.c | 2 +-
src/gallium/drivers/lima/ir/pp/nir.c | 2 +-
.../drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 10 +-
.../drivers/panfrost/midgard/midgard_compile.c | 2 +-
src/gallium/drivers/vc4/vc4_program.c | 2 +-
src/intel/compiler/brw_fs_nir.cpp | 22 ++--
.../compiler/brw_nir_analyze_boolean_resolves.c | 2 +-
src/intel/compiler/brw_vec4_nir.cpp | 8 +-
src/intel/vulkan/anv_nir_lower_ycbcr_textures.c | 50 +++++----
.../state_tracker/st_nir_lower_tex_src_plane.c | 8 +-
43 files changed, 470 insertions(+), 416 deletions(-)
Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=14531d676b11999123c04fb7569ab80c9f150180
More information about the mesa-commit
mailing list