mesa/src/asahi/compiler
Jesse Natalie 4217353e2d nir_lower_mem_access_bit_sizes: Add a bit_size input to the callback
We'd like to use this callback to adjust loads and stores from things
that are unsupported to things that are supported, but if the input
is already supported, we'd prefer not to change it. Rather than making
up a bit size that'd work and doing a bunch of pack/unpack bit math,
only return a different bit size if the input one doesn't work for us
(i.e. can't load enough memory or just an unsupported size entirely).

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23173>
2023-06-13 00:43:36 +00:00
..
test agx: Stop bit-inexact conversion propagation 2023-06-07 03:21:49 +00:00
agx_builder.h.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_compile.c nir_lower_mem_access_bit_sizes: Add a bit_size input to the callback 2023-06-13 00:43:36 +00:00
agx_compile.h asahi,agx: Call lower_discard_zs_emit in the driver 2023-06-07 03:21:49 +00:00
agx_compiler.h agx: Model interpolation for iter instructions 2023-06-07 03:21:49 +00:00
agx_dce.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_debug.h asahi: Fix disk cache disable with AGX_MESA_DEBUG 2023-05-07 09:00:40 -04:00
agx_insert_waits.c agx: Don't wait at the end of the shader 2023-05-07 09:05:39 -04:00
agx_internal_formats.h agx: Add agx_internal_format_supports_mask helper 2023-02-21 08:10:15 +00:00
agx_ir.c agx: Factor out allows_16bit_immediate check 2023-03-05 09:27:02 +00:00
agx_liveness.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_64bit.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_parallel_copy.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_pseudo.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_lower_uniform_sources.c agx: Model interpolation for iter instructions 2023-06-07 03:21:49 +00:00
agx_minifloat.h asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_nir.h agx: Optimize multiplies 2023-05-11 09:23:23 -04:00
agx_nir_algebraic.py agx: Optimize multiplies 2023-05-11 09:23:23 -04:00
agx_nir_lower_address.c agx: Fold addressing math into atomics 2023-06-09 12:06:00 +00:00
agx_nir_lower_discard_zs_emit.c agx: Lower discard in NIR 2023-06-07 03:21:49 +00:00
agx_nir_lower_frag_sidefx.c agx: Fix clang-formatting 2023-03-10 06:33:01 +00:00
agx_nir_lower_load_mask.c nir: Drop unused name from nir_ssa_dest_init 2023-05-17 23:46:16 +00:00
agx_nir_lower_sample_mask.c agx: Lower discard in NIR 2023-06-07 03:21:49 +00:00
agx_nir_lower_shared_bitsize.c agx: Lower legacy atomics sooner 2023-05-16 22:36:21 +00:00
agx_nir_lower_texture.c agx: Use common nir_steal_tex_src 2023-06-12 20:09:53 +00:00
agx_nir_lower_ubo.c agx: Use load_global_constant for UBO lowering 2023-01-11 20:36:51 +00:00
agx_nir_opt_preamble.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_opcodes.c.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_opcodes.h.py asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_opcodes.py agx: Model interpolation for iter instructions 2023-06-07 03:21:49 +00:00
agx_opt_cse.c agx: Split iter and iterproj instructions 2023-06-07 03:21:49 +00:00
agx_optimizer.c agx: Stop bit-inexact conversion propagation 2023-06-07 03:21:49 +00:00
agx_pack.c agx: Model interpolation for iter instructions 2023-06-07 03:21:49 +00:00
agx_performance.c agx: Add helper for calculating occupancy 2023-04-07 03:23:03 +00:00
agx_print.c asahi: Convert to SPDX headers 2023-03-28 05:14:00 +00:00
agx_register_allocate.c agx: Split iter and iterproj instructions 2023-06-07 03:21:49 +00:00
agx_validate.c agx: Validate that collect sources are the same size 2023-05-07 09:10:36 -04:00
meson.build agx: Lower discard in NIR 2023-06-07 03:21:49 +00:00