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>
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;