diff --git a/rpcs3/Emu/RSX/Common/GLSLCommon.h b/rpcs3/Emu/RSX/Common/GLSLCommon.h index ba66a5e1b8..914f9f891c 100644 --- a/rpcs3/Emu/RSX/Common/GLSLCommon.h +++ b/rpcs3/Emu/RSX/Common/GLSLCommon.h @@ -404,19 +404,8 @@ namespace glsl " attribute_desc desc = fetch_desc(location);\n" " if (desc.attribute_size == 0)\n" " {\n" - " //default values\n" - " const vec4 defaults[] = \n" - " { vec4(0., 0., 0., 1.), //position\n" - " vec4(0.), vec4(0.), //weight, normals\n" - " vec4(1.), //diffuse\n" - " vec4(0.), vec4(0.), //specular, fog\n" - " vec4(1.), //point size\n" - " vec4(0.), //in_7\n" - " //in_tc registers\n" - " vec4(0.), vec4(0.), vec4(0.), vec4(0.),\n" - " vec4(0.), vec4(0.), vec4(0.), vec4(0.)\n" - " };\n" - " return defaults[location];\n" + " //default value\n" + " return vec4(0., 0., 0., 1.);\n" " }\n\n" " int vertex_id = " << vertex_id_name << " - int(vertex_base_index);\n" " if (desc.frequency == 0)\n"