Searched refs:shader_no_position (Results 1 – 1 of 1) sorted by relevance
153 nir_shader *shader_no_position = nir_shader_clone(NULL, shader); in shader_only_position_uses_view_index() local154 nir_function_impl *entrypoint = nir_shader_get_entrypoint(shader_no_position); in shader_only_position_uses_view_index()178 progress |= nir_opt_dead_cf(shader_no_position); in shader_only_position_uses_view_index()183 progress |= nir_opt_peephole_select(shader_no_position, 0, false, false); in shader_only_position_uses_view_index()185 progress |= nir_opt_dce(shader_no_position); in shader_only_position_uses_view_index()188 bool uses_view_index = nir_shader_uses_view_index(shader_no_position); in shader_only_position_uses_view_index()190 ralloc_free(shader_no_position); in shader_only_position_uses_view_index()