radv: Stop running constant folding during ray query lowering
Now that committed is an intrinsic index, there is no need for constant folding. Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22963>
This commit is contained in:

committed by
Marge Bot

parent
0cf22f9af3
commit
1671b5fd1f
@@ -679,9 +679,6 @@ radv_nir_lower_ray_queries(struct nir_shader *shader, struct radv_device *device
|
||||
bool progress = false;
|
||||
struct hash_table *query_ht = _mesa_pointer_hash_table_create(NULL);
|
||||
|
||||
/* Run constant folding to collapse expressions that are required to be constant by the spec. */
|
||||
NIR_PASS(progress, shader, nir_opt_constant_folding);
|
||||
|
||||
nir_foreach_variable_in_list (var, &shader->variables) {
|
||||
if (!var->data.ray_query)
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user