Lines Matching refs:add_variable
388 return add_variable(name, type, ir_var_shader_in, slot);
393 return add_variable(name, type, ir_var_shader_out, slot);
404 return add_variable(name, type, ir_var_system_value, slot);
407 ir_variable *add_variable(const char *name, const glsl_type *type,
493 symtab->add_variable(var);
498 builtin_variable_generator::add_variable(const char *name,
533 symtab->add_variable(var);
552 ir_variable *const uni = add_variable(name, type, ir_var_uniform, -1);
590 ir_variable *const var = add_variable(name, glsl_type::int_type,
603 ir_variable *const var = add_variable(name, glsl_type::ivec3_type,
1267 add_variable("gl_GlobalInvocationID", uvec3_t, ir_var_auto, 0);
1268 add_variable("gl_LocalInvocationIndex", uint_t, ir_var_auto, 0);
1369 add_variable("gl_in", array(per_vertex_in_type, state->Const.MaxPatchVertices),
1375 add_variable("gl_in", array(per_vertex_in_type, 0),
1381 add_variable("gl_out", array(per_vertex_out_type, 0),
1392 add_variable(fields[i].name, fields[i].type, ir_var_shader_out,