Lines Matching defs:spirv
1071 std::ostringstream spirv;
1072 spirv << header << std::endl;
1075 spirv << "%s_depth_1 = OpTypeStruct %float\n";
1077 spirv << "%s_depth_" << i << " = OpTypeStruct %s_depth_" << i - 1 << "\n";
1081 spirv << "%_ptr_Uniform_deep_struct = OpTypePointer Uniform %s_depth_"
1083 spirv << "%deep_var = OpVariable %_ptr_Uniform_deep_struct Uniform\n";
1086 spirv << R"(
1092 spirv << "%deep = OpLoad %s_depth_" << depth << " %deep_var" << std::endl;
1093 spirv << "%entry = OpCompositeExtract %float %deep";
1095 spirv << " 0";
1097 spirv << std::endl;
1098 spirv << "%new_composite = OpCompositeInsert %s_depth_" << depth
1101 spirv << " 0";
1103 spirv << std::endl;
1106 spirv << R"(
1110 CompileSuccessfully(spirv.str());
1116 std::ostringstream spirv;
1117 spirv << GetHeaderForTestsFromValId() << std::endl;
1118 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1119 spirv << "%entry = OpCompositeExtract %float %matrix";
1121 spirv << " 0";
1123 spirv << R"(
1127 CompileSuccessfully(spirv.str());
1136 std::ostringstream spirv;
1137 spirv << GetHeaderForTestsFromValId() << std::endl;
1138 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1139 spirv << "%new_composite = OpCompositeInsert %mat4x3 %int_0 %matrix";
1141 spirv << " 0";
1143 spirv << R"(
1147 CompileSuccessfully(spirv.str());
1156 std::ostringstream spirv;
1157 spirv << GetHeaderForTestsFromValId() << std::endl;
1158 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1159 spirv << "%float_entry = OpCompositeExtract %float %matrix 0 1" << std::endl;
1160 spirv << "%new_composite = OpCompositeInsert %float %float_entry %matrix 0 1"
1162 spirv << R"(OpReturn
1164 CompileSuccessfully(spirv.str());
1172 std::ostringstream spirv;
1173 spirv << GetHeaderForTestsFromValId() << std::endl;
1174 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1175 spirv << "%float_entry = OpCompositeExtract %mat4x3 %matrix" << std::endl;
1176 spirv << R"(OpReturn
1178 CompileSuccessfully(spirv.str());
1188 std::ostringstream spirv;
1189 spirv << GetHeaderForTestsFromValId() << std::endl;
1190 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1191 spirv << "%float_entry = OpCompositeExtract %float %matrix" << std::endl;
1192 spirv << R"(OpReturn
1194 CompileSuccessfully(spirv.str());
1205 std::ostringstream spirv;
1206 spirv << GetHeaderForTestsFromValId() << std::endl;
1207 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1208 spirv << "%matrix_2 = OpLoad %mat4x3 %my_matrix" << std::endl;
1209 spirv << "%new_composite = OpCompositeInsert %mat4x3 %matrix_2 %matrix";
1210 spirv << R"(
1213 CompileSuccessfully(spirv.str());
1224 std::ostringstream spirv;
1225 spirv << GetHeaderForTestsFromValId() << std::endl;
1226 spirv << "%matrix = OpLoad %mat4x3 %my_matrix" << std::endl;
1227 spirv << "%new_composite = OpCompositeInsert %mat4x3 %int_0 %matrix";
1228 spirv << R"(
1231 CompileSuccessfully(spirv.str());
1247 std::ostringstream spirv;
1248 spirv << GetHeaderForTestsFromValId() << R"(
1267 CompileSuccessfully(spirv.str());
1279 std::ostringstream spirv;
1280 spirv << GetHeaderForTestsFromValId() << R"(
1287 CompileSuccessfully(spirv.str());
1302 std::ostringstream spirv;
1303 spirv << GetHeaderForTestsFromValId() << R"(
1311 CompileSuccessfully(spirv.str());
1328 std::ostringstream spirv;
1329 spirv << GetHeaderForTestsFromValId() << R"(
1336 CompileSuccessfully(spirv.str());
1354 std::ostringstream spirv;
1355 spirv << GetHeaderForTestsFromValId() << R"(
1362 CompileSuccessfully(spirv.str());
1373 std::ostringstream spirv;
1374 spirv << GetHeaderForTestsFromValId() << R"(
1381 CompileSuccessfully(spirv.str());
1392 std::ostringstream spirv;
1393 spirv << GetHeaderForTestsFromValId() << R"(
1401 CompileSuccessfully(spirv.str());
1413 std::string spirv = R"(
1431 CompileSuccessfully(spirv);
1437 std::string spirv = R"(
1457 CompileSuccessfully(spirv);
1466 std::string spirv = R"(
1484 CompileSuccessfully(spirv);
1644 const std::string spirv = R"(
1661 CompileSuccessfully(spirv);
1668 const std::string spirv = R"(
1683 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1690 const std::string spirv = R"(
1706 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1711 const std::string spirv = R"(
1730 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1738 const std::string spirv = R"(
1757 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1765 const std::string spirv = R"(
1787 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1792 const std::string spirv = R"(
1809 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1817 const std::string spirv = R"(
1837 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
1845 const std::string spirv = R"(
1866 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
2038 const std::string spirv = R"(
2068 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_3);
2076 const std::string spirv = R"(
2099 CompileSuccessfully(spirv);