radv/rt: Load instance id and custom index on demand
Stats for Quae II RTX: 57fps -> 57fps Totals from 7 (14.00% of 50) affected shaders: VGPRs: 800 -> 784 (-2.00%) CodeSize: 217868 -> 218308 (+0.20%) MaxWaves: 62 -> 63 (+1.61%) Instrs: 40384 -> 40420 (+0.09%); split: -0.01%, +0.10% Latency: 866315 -> 870692 (+0.51%) InvThroughput: 199189 -> 196595 (-1.30%); split: -1.75%, +0.45% VClause: 1058 -> 1077 (+1.80%) SClause: 1126 -> 1130 (+0.36%) Copies: 5787 -> 5772 (-0.26%); split: -0.40%, +0.14% PreVGPRs: 764 -> 750 (-1.83%) Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19159>
This commit is contained in:

committed by
Marge Bot

parent
6fcabb3b02
commit
ac01f09d57
@@ -123,9 +123,7 @@ struct radv_ray_traversal_vars {
|
||||
nir_deref_instr *instance_bottom_node;
|
||||
|
||||
/* Information about the current instance used for culling. */
|
||||
nir_deref_instr *instance_id;
|
||||
nir_deref_instr *instance_addr;
|
||||
nir_deref_instr *custom_instance_and_mask;
|
||||
nir_deref_instr *sbt_offset_and_flags;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user