• Home
  • Raw
  • Download

Lines Matching refs:formal

109                        const ir_variable *formal, const ir_variable *actual)  in verify_image_parameter()  argument
120 if (actual->data.memory_coherent && !formal->data.memory_coherent) { in verify_image_parameter()
123 "`coherent' qualifier", formal->name); in verify_image_parameter()
127 if (actual->data.memory_volatile && !formal->data.memory_volatile) { in verify_image_parameter()
130 "`volatile' qualifier", formal->name); in verify_image_parameter()
134 if (actual->data.memory_restrict && !formal->data.memory_restrict) { in verify_image_parameter()
137 "`restrict' qualifier", formal->name); in verify_image_parameter()
141 if (actual->data.memory_read_only && !formal->data.memory_read_only) { in verify_image_parameter()
144 "`readonly' qualifier", formal->name); in verify_image_parameter()
148 if (actual->data.memory_write_only && !formal->data.memory_write_only) { in verify_image_parameter()
151 "`writeonly' qualifier", formal->name); in verify_image_parameter()
230 foreach_in_list(const ir_variable, formal, &sig->parameters) { in verify_parameter_modes()
242 if (formal->data.mode == ir_var_const_in && in verify_parameter_modes()
246 formal->name); in verify_parameter_modes()
251 if (formal->data.must_be_shader_input) { in verify_parameter_modes()
259 formal->name); in verify_parameter_modes()
282 formal->name); in verify_parameter_modes()
290 if (formal->data.mode == ir_var_function_out in verify_parameter_modes()
291 || formal->data.mode == ir_var_function_inout) { in verify_parameter_modes()
293 switch (formal->data.mode) { in verify_parameter_modes()
306 mode, formal->name, in verify_parameter_modes()
313 if (var && formal->data.mode == ir_var_function_inout) { in verify_parameter_modes()
330 mode, formal->name, in verify_parameter_modes()
336 mode, formal->name); in verify_parameter_modes()
340 assert(formal->data.mode == ir_var_function_in || in verify_parameter_modes()
341 formal->data.mode == ir_var_const_in); in verify_parameter_modes()
354 if (formal->type->is_image() && in verify_parameter_modes()
356 if (!verify_image_parameter(&loc, state, formal, in verify_parameter_modes()
562 ir_variable *formal = (ir_variable *) formal_node; in generate_call() local
564 if (formal->type->is_numeric() || formal->type->is_boolean()) { in generate_call()
565 switch (formal->data.mode) { in generate_call()
569 = convert_component(actual, formal->type); in generate_call()
575 fix_parameter(ctx, actual, formal->type, in generate_call()
577 formal->data.mode == ir_var_function_inout); in generate_call()