diff options
Diffstat (limited to 'src/compiler/nir')
-rw-r--r-- | src/compiler/nir/meson.build | 2 | ||||
-rw-r--r-- | src/compiler/nir/nir.h | 2 | ||||
-rw-r--r-- | src/compiler/nir/nir_lower_packing.c (renamed from src/compiler/nir/nir_lower_64bit_packing.c) | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/nir/meson.build b/src/compiler/nir/meson.build index 57bf90c58b1..f5a4affc893 100644 --- a/src/compiler/nir/meson.build +++ b/src/compiler/nir/meson.build @@ -103,7 +103,6 @@ files_libnir = files( 'nir_liveness.c', 'nir_loop_analyze.c', 'nir_loop_analyze.h', - 'nir_lower_64bit_packing.c', 'nir_lower_alu_to_scalar.c', 'nir_lower_alpha_test.c', 'nir_lower_atomics_to_ssbo.c', @@ -126,6 +125,7 @@ files_libnir = files( 'nir_lower_io_to_temporaries.c', 'nir_lower_io_to_scalar.c', 'nir_lower_io_types.c', + 'nir_lower_packing.c', 'nir_lower_passthrough_edgeflags.c', 'nir_lower_patch_vertices.c', 'nir_lower_phis_to_scalar.c', diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index a538d6981cc..a379928cdcd 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -2786,7 +2786,7 @@ typedef enum { } nir_lower_doubles_options; bool nir_lower_doubles(nir_shader *shader, nir_lower_doubles_options options); -bool nir_lower_64bit_pack(nir_shader *shader); +bool nir_lower_pack(nir_shader *shader); bool nir_normalize_cubemap_coords(nir_shader *shader); diff --git a/src/compiler/nir/nir_lower_64bit_packing.c b/src/compiler/nir/nir_lower_packing.c index dd435490e3d..ba9f4bc040a 100644 --- a/src/compiler/nir/nir_lower_64bit_packing.c +++ b/src/compiler/nir/nir_lower_packing.c @@ -87,7 +87,7 @@ lower_unpack_64_to_16(nir_builder *b, nir_ssa_def *src) } static bool -lower_64bit_pack_impl(nir_function_impl *impl) +lower_pack_impl(nir_function_impl *impl) { nir_builder b; nir_builder_init(&b, impl); @@ -148,13 +148,13 @@ lower_64bit_pack_impl(nir_function_impl *impl) } bool -nir_lower_64bit_pack(nir_shader *shader) +nir_lower_pack(nir_shader *shader) { bool progress = false; nir_foreach_function(function, shader) { if (function->impl) - progress |= lower_64bit_pack_impl(function->impl); + progress |= lower_pack_impl(function->impl); } return false; |