ir3: lower 64b intrinsics after generic 64b lowering
ir3_nir_lower_64b_intrinsics will blindly set the def bit size to 32 for unknown intrinsics. Give the generic passes a chance to lower them first. Signed-off-by: Job Noorman <jnoorman@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31455>
This commit is contained in:
@@ -989,9 +989,9 @@ ir3_nir_lower_variant(struct ir3_shader_variant *so, nir_shader *s)
|
||||
|
||||
progress |= OPT(s, nir_lower_mem_access_bit_sizes, &mem_bit_size_options);
|
||||
progress |= OPT(s, ir3_nir_lower_64b_global);
|
||||
progress |= OPT(s, ir3_nir_lower_64b_intrinsics);
|
||||
progress |= OPT(s, ir3_nir_lower_64b_undef);
|
||||
progress |= OPT(s, nir_lower_int64);
|
||||
progress |= OPT(s, ir3_nir_lower_64b_intrinsics);
|
||||
|
||||
/* Cleanup code leftover from lowering passes before opt_preamble */
|
||||
if (progress) {
|
||||
|
||||
Reference in New Issue
Block a user