Lines Matching refs:spirv
146 std::ostringstream spirv;
147 spirv << header << R"(
151 spirv << " %1";
153 CompileSuccessfully(spirv.str());
158 std::ostringstream spirv;
159 spirv << header << R"(
163 spirv << " %1";
165 CompileSuccessfully(spirv.str());
173 std::ostringstream spirv;
174 spirv << header << R"(
178 spirv << " %1";
182 CompileSuccessfully(spirv.str());
187 std::ostringstream spirv;
188 spirv << header << R"(
192 spirv << " %1";
196 CompileSuccessfully(spirv.str());
205 std::ostringstream spirv;
206 spirv << header << R"(
219 spirv << " 1 %10";
222 spirv << R"(
228 CompileSuccessfully(spirv.str());
234 std::ostringstream spirv;
235 spirv << header << R"(
248 spirv << " 1 %10";
251 spirv << R"(
257 CompileSuccessfully(spirv.str());
266 std::ostringstream spirv;
267 spirv << header << R"(
280 spirv << " 1 %10";
283 spirv << R"(
291 CompileSuccessfully(spirv.str());
297 std::ostringstream spirv;
298 spirv << header << R"(
311 spirv << " 1 %10";
314 spirv << R"(
322 CompileSuccessfully(spirv.str());
332 std::ostringstream spirv;
333 spirv << header << R"(
338 spirv << " %1";
340 CompileSuccessfully(spirv.str());
348 std::ostringstream spirv;
349 spirv << header << R"(
353 spirv << " %1";
355 CompileSuccessfully(spirv.str());
365 std::ostringstream spirv;
366 spirv << header << R"(
371 spirv << " %1";
375 CompileSuccessfully(spirv.str());
382 std::ostringstream spirv;
383 spirv << header << R"(
387 spirv << " %1";
391 CompileSuccessfully(spirv.str());
401 std::ostringstream spirv;
402 spirv << header << R"(
408 spirv << "%var_" << i << " = OpVariable %_ptr_int Input\n";
411 CompileSuccessfully(spirv.str());
418 std::ostringstream spirv;
419 spirv << header << R"(
425 spirv << "%var_" << i << " = OpVariable %_ptr_int Input\n";
428 CompileSuccessfully(spirv.str());
438 std::ostringstream spirv;
439 spirv << header << R"(
445 spirv << "%var_" << i << " = OpVariable %_ptr_int Input\n";
450 CompileSuccessfully(spirv.str());
457 std::ostringstream spirv;
458 spirv << header << R"(
464 spirv << "%var_" << i << " = OpVariable %_ptr_int Input\n";
469 CompileSuccessfully(spirv.str());
482 std::ostringstream spirv;
483 spirv << header << R"(
493 spirv << "%var_" << i << " = OpVariable %_ptr_int Function\n";
496 spirv << R"(
501 CompileSuccessfully(spirv.str());
512 std::ostringstream spirv;
513 spirv << header << R"(
523 spirv << "%var_" << i << " = OpVariable %_ptr_int Function\n";
526 spirv << R"(
531 CompileSuccessfully(spirv.str());
543 std::ostringstream spirv;
544 spirv << header << R"(
554 spirv << "%var_" << i << " = OpVariable %_ptr_int Function\n";
557 spirv << R"(
564 CompileSuccessfully(spirv.str());
571 std::ostringstream spirv;
572 spirv << header << R"(
582 spirv << "%var_" << i << " = OpVariable %_ptr_int Function\n";
585 spirv << R"(
592 CompileSuccessfully(spirv.str());
601 std::ostringstream spirv;
602 spirv << header << R"(
607 spirv << "%s_depth_" << i << " = OpTypeStruct %int %s_depth_" << i - 1;
608 spirv << "\n";
610 CompileSuccessfully(spirv.str());
616 std::ostringstream spirv;
617 spirv << header << R"(
622 spirv << "%s_depth_" << i << " = OpTypeStruct %int %s_depth_" << i - 1;
623 spirv << "\n";
625 CompileSuccessfully(spirv.str());
635 std::ostringstream spirv;
636 spirv << header << R"(
641 spirv << "%s_depth_" << i << " = OpTypeStruct %int %s_depth_" << i - 1;
642 spirv << "\n";
646 CompileSuccessfully(spirv.str());
652 std::ostringstream spirv;
653 spirv << header << R"(
658 spirv << "%s_depth_" << i << " = OpTypeStruct %int %s_depth_" << i - 1;
659 spirv << "\n";
663 CompileSuccessfully(spirv.str());
674 std::ostringstream spirv;
675 spirv << header << R"(
696 spirv << "OpSelectionMerge %" << i+1 << " None" << "\n";
697 spirv << "OpBranchConditional %12 " << "%" << i << " %" << i+1 << "\n";
698 spirv << "%" << i << " = OpLabel" << "\n";
700 spirv << "OpBranch %9" << "\n";
703 spirv << "%" << i << " = OpLabel" << "\n";
704 spirv << "OpBranch %" << i-2 << "\n";
706 spirv << "%" << last_id << " = OpLabel" << "\n";
707 spirv << "OpBranch %9" << "\n";
708 spirv << R"(
715 str = spirv.str();
721 std::string spirv;
722 GenerateSpirvProgramWithCfgNestingDepth(spirv, 1024);
723 CompileSuccessfully(spirv);
731 std::string spirv;
732 GenerateSpirvProgramWithCfgNestingDepth(spirv, 10);
735 CompileSuccessfully(spirv);
741 std::string spirv;
742 GenerateSpirvProgramWithCfgNestingDepth(spirv, 11);
745 CompileSuccessfully(spirv);