[GPU] Reuse base+index*stride in vfetch_mini instead of reloading the index GPR
The wheel shader in 4D530910 does vfetch_full to r0 with the index from r0.x, and then vfetch_mini. Thanks @Gliniak for the finding :3 Also small formatting cleanup in commented-out code.
This commit is contained in:
@@ -876,7 +876,7 @@ bool ParseVertexFetchInstruction(const VertexFetchInstruction& op,
|
||||
instr.attributes.stride = full_op.stride();
|
||||
instr.attributes.exp_adjust = op.exp_adjust();
|
||||
instr.attributes.prefetch_count = op.prefetch_count();
|
||||
instr.attributes.is_index_rounded = op.is_index_rounded();
|
||||
instr.attributes.is_index_rounded = full_op.is_index_rounded();
|
||||
instr.attributes.is_signed = op.is_signed();
|
||||
instr.attributes.is_integer = !op.is_normalized();
|
||||
instr.attributes.signed_rf_mode = op.signed_rf_mode();
|
||||
|
||||
Reference in New Issue
Block a user