Lines Matching refs:fragments

442 // on fragments, which must (at least) map "testfun" to an OpFunction definition
444 // with "BP_" to avoid collisions with fragments.
452 string makeVertexShaderAssembly(const map<string, string>& fragments)
524 return tcu::StringTemplate(vertexShaderBoilerplate).specialize(fragments);
528 // StringTemplate on fragments, which must (at least) map "testfun" to an
530 // Boilerplate IDs are prefixed with "BP_" to avoid collisions with fragments.
549 string makeTessControlShaderAssembly (const map<string, string>& fragments)
666 return tcu::StringTemplate(tessControlShaderBoilerplate).specialize(fragments);
670 // StringTemplate on fragments, which must (at least) map "testfun" to an
672 // Boilerplate IDs are prefixed with "BP_" to avoid collisions with fragments.
692 string makeTessEvalShaderAssembly(const map<string, string>& fragments)
830 return tcu::StringTemplate(tessEvalBoilerplate).specialize(fragments);
834 // on fragments, which must (at least) map "testfun" to an OpFunction definition
836 // with "BP_" to avoid collisions with fragments.
859 string makeGeometryShaderAssembly(const map<string, string>& fragments)
975 return tcu::StringTemplate(geometryShaderBoilerplate).specialize(fragments);
979 // on fragments, which must (at least) map "testfun" to an OpFunction definition
981 // with "BP_" to avoid collisions with fragments.
992 string makeFragmentShaderAssembly(const map<string, string>& fragments)
1044 return tcu::StringTemplate(fragmentShaderBoilerplate).specialize(fragments);
1052 map<string, string> fragments = passthruFragments();
1055 fragments["interface_op_func"] =
1061 fragments["input_type"] = var_type;
1062 fragments["output_type"] = var_type;
1063 fragments["pre_main"] = "";
1069 fragments["pre_main"] += "%f16 = OpTypeFloat 16\n";
1073 fragments["pre_main"] += "%i16 = OpTypeInt 16 1\n";
1077 fragments["pre_main"] += "%u16 = OpTypeInt 16 0\n";
1080 fragments["capability"] = "OpCapability StorageInputOutput16\n";
1081 fragments["extension"] = "OpExtension \"SPV_KHR_16bit_storage\"\n";
1085 fragments["pre_main"] += "%" + var_type + " = OpTypeVector %" + IFDataType(1, data_type.elementType).str() + " " + numberToString(data_type.numElements) + "\n";
1088 fragments["pre_main"] +=
1093 fragments["pre_main"] +=
1099 return fragments;
1110 map<string, string> fragments ;
1112 fragments["IF_entrypoint"] = "%IF_input %IF_output";
1113 fragments["IF_variable"] =
1116 fragments["IF_decoration"] =
1119 fragments["IF_carryforward"] =
1125 fragments["capability"] = "${capability:opt}";
1126 fragments["extension"] = "${extension:opt}";
1127 fragments["debug"] = "${debug:opt}";
1128 fragments["decoration"] = "${decoration:opt}";
1129 fragments["pre_main"] = "${pre_main:opt}";
1130 fragments["testfun"] = "${testfun}";
1131 fragments["interface_op_func"] = "${interface_op_func}";
1133 return fragments;
1144 map<string, string> fragments ;
1146 fragments["IF_entrypoint"] = "%IF_input %IF_output";
1147 fragments["IF_variable"] =
1150 fragments["IF_decoration"] =
1154 fragments["IF_carryforward"] =
1160 fragments["capability"] = "${capability:opt}";
1161 fragments["extension"] = "${extension:opt}";
1162 fragments["debug"] = "${debug:opt}";
1163 fragments["decoration"] = "${decoration:opt}";
1164 fragments["pre_main"] = "${pre_main:opt}";
1165 fragments["testfun"] = "${testfun}";
1166 fragments["interface_op_func"] = "${interface_op_func}";
1168 return fragments;
1180 map<string, string> fragments ;
1182 fragments["IF_entrypoint"] = "%IF_input %IF_output";
1183 fragments["IF_variable"] =
1186 fragments["IF_decoration"] =
1189 fragments["IF_carryforward"] =
1207 fragments["capability"] = "${capability:opt}";
1208 fragments["extension"] = "${extension:opt}";
1209 fragments["debug"] = "${debug:opt}";
1210 fragments["decoration"] = "${decoration:opt}";
1211 fragments["pre_main"] = "${pre_main:opt}";
1212 fragments["testfun"] = "${testfun}";
1213 fragments["interface_op_func"] = "${interface_op_func}";
1215 return fragments;
1227 map<string, string> fragments ;
1229 fragments["IF_entrypoint"] = "%IF_input %IF_output";
1230 fragments["IF_variable"] =
1233 fragments["IF_decoration"] =
1236 fragments["IF_carryforward"] =
1244 fragments["capability"] = "${capability:opt}";
1245 fragments["extension"] = "${extension:opt}";
1246 fragments["debug"] = "${debug:opt}";
1247 fragments["decoration"] = "${decoration:opt}";
1248 fragments["pre_main"] = "${pre_main:opt}";
1249 fragments["testfun"] = "${testfun}";
1250 fragments["interface_op_func"] = "${interface_op_func}";
1252 return fragments;
1257 map<string, string> fragments;
1258 fragments["testfun"] =
1265 return fragments;
3737 void addTessCtrlTest(tcu::TestCaseGroup* group, const char* name, const map<string, string>& fragments)
3752 pipelineStages, defaultColors, defaultColors, fragments,