Lines Matching refs:nir_mode
412 nir_variable_mode nir_mode = in vtn_pointer_dereference() local
415 tail = nir_build_deref_cast(&b->nb, desc, nir_mode, in vtn_pointer_dereference()
1404 nir_variable_mode nir_mode; in vtn_storage_class_to_mode() local
1410 nir_mode = nir_var_mem_ubo; in vtn_storage_class_to_mode()
1413 nir_mode = nir_var_mem_ssbo; in vtn_storage_class_to_mode()
1417 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1422 nir_mode = nir_var_mem_ssbo; in vtn_storage_class_to_mode()
1426 nir_mode = nir_var_mem_global; in vtn_storage_class_to_mode()
1431 nir_mode = nir_var_mem_constant; in vtn_storage_class_to_mode()
1441 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1444 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1450 nir_mode = nir_var_mem_push_const; in vtn_storage_class_to_mode()
1454 nir_mode = nir_var_shader_in; in vtn_storage_class_to_mode()
1458 nir_mode = nir_var_shader_out; in vtn_storage_class_to_mode()
1462 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1466 nir_mode = nir_var_function_temp; in vtn_storage_class_to_mode()
1470 nir_mode = nir_var_mem_shared; in vtn_storage_class_to_mode()
1474 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1478 nir_mode = nir_var_mem_global; in vtn_storage_class_to_mode()
1482 nir_mode = nir_var_mem_ubo; in vtn_storage_class_to_mode()
1486 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1490 nir_mode = nir_var_shader_call_data; in vtn_storage_class_to_mode()
1494 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1498 nir_mode = nir_var_shader_call_data; in vtn_storage_class_to_mode()
1502 nir_mode = nir_var_ray_hit_attrib; in vtn_storage_class_to_mode()
1506 nir_mode = nir_var_mem_constant; in vtn_storage_class_to_mode()
1511 nir_mode = nir_var_mem_generic; in vtn_storage_class_to_mode()
1519 *nir_mode_out = nir_mode; in vtn_storage_class_to_mode()
1622 nir_variable_mode nir_mode; in vtn_pointer_from_ssa() local
1624 without_array, &nir_mode); in vtn_pointer_from_ssa()
1631 ptr->deref = nir_build_deref_cast(&b->nb, ssa, nir_mode, in vtn_pointer_from_ssa()
1653 ptr->deref = nir_build_deref_cast(&b->nb, ssa, nir_mode, in vtn_pointer_from_ssa()
1748 nir_variable_mode nir_mode; in vtn_create_variable() local
1749 mode = vtn_storage_class_to_mode(b, storage_class, without_array, &nir_mode); in vtn_create_variable()
1841 var->var->data.mode = nir_mode; in vtn_create_variable()
1855 var->var->data.mode = nir_mode; in vtn_create_variable()
1866 var->var->data.mode = nir_mode; in vtn_create_variable()
1918 var->var->data.mode = nir_mode; in vtn_create_variable()
1946 var->var->members[i].mode = nir_mode; in vtn_create_variable()
2562 nir_variable_mode nir_mode; in vtn_handle_variables() local
2564 vtn_storage_class_to_mode(b, storage_class, dst_type->deref, &nir_mode); in vtn_handle_variables()
2572 nir_ssa_def *valid = nir_build_deref_mode_is(&b->nb, src_deref, nir_mode); in vtn_handle_variables()