aco: Pre-split result of bvh64_intersect_ray_amd.
Avoids later moves with extractions from the vector. Reduces VALU operation in the raytrace loop by ~6%, increasing the RT performance in Q2RTX on a 6800 XT by about ~1.3%. Suggested by Georg. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19148>
This commit is contained in:
committed by
Marge Bot
parent
c6aca79f63
commit
1252d63cc2
@@ -6156,6 +6156,8 @@ visit_bvh64_intersect_ray_amd(isel_context* ctx, nir_intrinsic_instr* instr)
|
||||
mimg->dmask = 0xf;
|
||||
mimg->unrm = true;
|
||||
mimg->r128 = true;
|
||||
|
||||
emit_split_vector(ctx, dst, instr->dest.ssa.num_components);
|
||||
}
|
||||
|
||||
static std::vector<Temp>
|
||||
|
||||
Reference in New Issue
Block a user