aco: split load_sbt_amd result
fossil-db (Sienna Cichlid): Totals from 11 (0.01% of 162293) affected shaders: Instrs: 47857 -> 47738 (-0.25%) CodeSize: 261556 -> 261080 (-0.18%) Latency: 1176822 -> 1176245 (-0.05%) InvThroughput: 784549 -> 784165 (-0.05%) Copies: 5959 -> 5840 (-2.00%) Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16203>
This commit is contained in:
@@ -5621,6 +5621,7 @@ visit_load_sbt_amd(isel_context* ctx, nir_intrinsic_instr* instr)
|
||||
Temp desc_base = convert_pointer_to_64_bit(ctx, get_arg(ctx, ctx->args->ac.sbt_descriptors));
|
||||
Operand desc_off = bld.copy(bld.def(s1), Operand::c32(binding * 16u));
|
||||
bld.smem(aco_opcode::s_load_dwordx4, Definition(dst), desc_base, desc_off);
|
||||
emit_split_vector(ctx, dst, 4);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user