mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
ir3: make ir3_mem_access_size_align publically available
We want to reuse it from tu_shader.cc. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31455>
This commit is contained in:
parent
aa9b8316ae
commit
8a17eb5377
2 changed files with 5 additions and 1 deletions
|
|
@ -850,7 +850,7 @@ lower_binning(nir_shader *s)
|
|||
nir_metadata_control_flow, NULL);
|
||||
}
|
||||
|
||||
static nir_mem_access_size_align
|
||||
nir_mem_access_size_align
|
||||
ir3_mem_access_size_align(nir_intrinsic_op intrin, uint8_t bytes,
|
||||
uint8_t bit_size, uint32_t align,
|
||||
uint32_t align_offset, bool offset_is_const,
|
||||
|
|
|
|||
|
|
@ -53,6 +53,10 @@ bool ir3_nir_lower_64b_undef(nir_shader *shader);
|
|||
bool ir3_nir_lower_64b_global(nir_shader *shader);
|
||||
bool ir3_nir_lower_64b_regs(nir_shader *shader);
|
||||
|
||||
nir_mem_access_size_align ir3_mem_access_size_align(
|
||||
nir_intrinsic_op intrin, uint8_t bytes, uint8_t bit_size, uint32_t align,
|
||||
uint32_t align_offset, bool offset_is_const, const void *cb_data);
|
||||
|
||||
bool ir3_nir_opt_branch_and_or_not(nir_shader *nir);
|
||||
bool ir3_optimize_loop(struct ir3_compiler *compiler, nir_shader *s);
|
||||
void ir3_nir_lower_io_to_temporaries(nir_shader *s);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue