Searched refs:vtn_var (Results 1 – 2 of 2) sorted by relevance
116 struct vtn_variable *vtn_var = rzalloc(b, struct vtn_variable); in vtn_cfg_handle_prepass_instruction() local117 vtn_var->type = type->deref; in vtn_cfg_handle_prepass_instruction()118 vtn_var->var = param; in vtn_cfg_handle_prepass_instruction()120 vtn_assert(vtn_var->type->type == param->type); in vtn_cfg_handle_prepass_instruction()122 struct vtn_type *without_array = vtn_var->type; in vtn_cfg_handle_prepass_instruction()127 vtn_var->mode = vtn_variable_mode_image; in vtn_cfg_handle_prepass_instruction()130 vtn_var->mode = vtn_variable_mode_sampler; in vtn_cfg_handle_prepass_instruction()133 vtn_var->mode = vtn_variable_mode_param; in vtn_cfg_handle_prepass_instruction()142 val->pointer = vtn_pointer_for_variable(b, vtn_var, type); in vtn_cfg_handle_prepass_instruction()146 struct vtn_variable *vtn_var = rzalloc(b, struct vtn_variable); in vtn_cfg_handle_prepass_instruction() local[all …]
1447 struct vtn_variable *vtn_var = void_var; in var_decoration_cb() local1452 vtn_var->binding = dec->literals[0]; in var_decoration_cb()1455 vtn_var->descriptor_set = dec->literals[0]; in var_decoration_cb()1458 vtn_var->input_attachment_index = dec->literals[0]; in var_decoration_cb()1461 vtn_var->patch = true; in var_decoration_cb()1483 vtn_var->mode == vtn_variable_mode_output) { in var_decoration_cb()1487 vtn_var->mode == vtn_variable_mode_input) { in var_decoration_cb()1490 } else if (vtn_var->mode == vtn_variable_mode_input || in var_decoration_cb()1491 vtn_var->mode == vtn_variable_mode_output) { in var_decoration_cb()1493 location += vtn_var->patch ? VARYING_SLOT_PATCH0 : VARYING_SLOT_VAR0; in var_decoration_cb()[all …]