Lines Matching refs:vtn_var
116 struct vtn_variable *vtn_var = rzalloc(b, struct vtn_variable); in vtn_cfg_handle_prepass_instruction() local
117 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
147 vtn_var->type = type; in vtn_cfg_handle_prepass_instruction()
148 vtn_var->var = param; in vtn_cfg_handle_prepass_instruction()
162 vtn_var->type = type->image; in vtn_cfg_handle_prepass_instruction()
177 vtn_pointer_for_image_or_sampler_variable(b, vtn_var); in vtn_cfg_handle_prepass_instruction()
188 vtn_pointer_for_image_or_sampler_variable(b, vtn_var); in vtn_cfg_handle_prepass_instruction()