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