D | builtin_variables.cpp | 446 ir_variable *add_input(int slot, const glsl_type *type, int precision, in add_input() function in __anone2e1154f0111::builtin_variable_generator 453 ir_variable *add_input(int slot, const glsl_type *type, const char *name, in add_input() function in __anone2e1154f0111::builtin_variable_generator 456 return add_input(slot, type, GLSL_PRECISION_NONE, name, interp); in add_input() 1157 add_input(VERT_ATTRIB_POS, vec4_t, "gl_Vertex"); in generate_vs_special_vars() 1158 add_input(VERT_ATTRIB_NORMAL, vec3_t, "gl_Normal"); in generate_vs_special_vars() 1159 add_input(VERT_ATTRIB_COLOR0, vec4_t, "gl_Color"); in generate_vs_special_vars() 1160 add_input(VERT_ATTRIB_COLOR1, vec4_t, "gl_SecondaryColor"); in generate_vs_special_vars() 1161 add_input(VERT_ATTRIB_TEX0, vec4_t, "gl_MultiTexCoord0"); in generate_vs_special_vars() 1162 add_input(VERT_ATTRIB_TEX1, vec4_t, "gl_MultiTexCoord1"); in generate_vs_special_vars() 1163 add_input(VERT_ATTRIB_TEX2, vec4_t, "gl_MultiTexCoord2"); in generate_vs_special_vars() [all …]
|