Lines Matching defs:code
517 const std::string code = GetShaderHeader("", false) + R"(
521 CompileSuccessfully(code.c_str());
530 const std::string code = GetShaderHeader() + R"(
539 CompileSuccessfully(code, env);
549 const std::string code = GetShaderHeader() + R"(
558 CompileSuccessfully(code, env);
564 const std::string code = GetShaderHeader() + R"(
573 CompileSuccessfully(code, env);
579 const std::string code = GetShaderHeader() + R"(
588 CompileSuccessfully(code, env);
596 const std::string code = GetShaderHeader(
608 CompileSuccessfully(code, env);
614 const std::string code = GetShaderHeader() + R"(
623 CompileSuccessfully(code, env);
631 const std::string code = GetShaderHeader(
643 CompileSuccessfully(code, env);
649 const std::string code = GetShaderHeader() + R"(
658 CompileSuccessfully(code, env);
664 const std::string code = GetShaderHeader() + R"(
673 CompileSuccessfully(code, env);
683 const std::string code = GetShaderHeader(
695 CompileSuccessfully(code, env);
705 const std::string code = GetShaderHeader("", false) + R"(
709 CompileSuccessfully(code.c_str());
716 const std::string code = GetShaderHeader("", false) + R"(
720 CompileSuccessfully(code.c_str());
727 const std::string code = GetShaderHeader("", false) + R"(
731 CompileSuccessfully(code.c_str());
738 const std::string code = GetShaderHeader("", false) + R"(
742 CompileSuccessfully(code.c_str());
749 const std::string code =
755 CompileSuccessfully(code.c_str());
762 const std::string code = GetShaderHeader("OpCapability InputAttachment\n") +
767 CompileSuccessfully(code.c_str());
776 const std::string code = GetShaderHeader("OpCapability InputAttachment\n") +
781 CompileSuccessfully(code.c_str());
790 const std::string code = GetShaderHeader(
798 CompileSuccessfully(code.c_str());
807 const std::string code = GetShaderHeader(
815 CompileSuccessfully(code.c_str());
822 const std::string code = GetShaderHeader(
830 CompileSuccessfully(code.c_str());
837 const std::string code = GetShaderHeader(
845 CompileSuccessfully(code.c_str());
852 const std::string code = GetShaderHeader(
860 CompileSuccessfully(code.c_str());
867 const std::string code = GetShaderHeader(
876 CompileSuccessfully(code.c_str());
1063 const std::string code = GetKernelHeader() + R"(
1067 CompileSuccessfully(code.c_str());
1073 const std::string code = GetKernelHeader() + R"(
1077 CompileSuccessfully(code.c_str());
1084 const std::string code = GetKernelHeader() + R"(
1088 CompileSuccessfully(code.c_str());
1095 const std::string code = GetKernelHeader() + R"(
1099 CompileSuccessfully(code.c_str());
1107 const std::string code = GetShaderHeader() + R"(
1111 CompileSuccessfully(code.c_str());
1117 const std::string code = GetShaderHeader() + R"(
1121 CompileSuccessfully(code.c_str());
1127 const std::string code = GetShaderHeader() + R"(
1131 CompileSuccessfully(code.c_str());
1140 const std::string code =
1146 CompileSuccessfully(code.c_str());
1153 const std::string code = GetShaderHeader("", false) +
1158 CompileSuccessfully(code.c_str());
1159 ASSERT_EQ(SPV_ERROR_INVALID_DATA, ValidateInstructions()) << code;
1166 const std::string code =
1172 CompileSuccessfully(code.c_str());
1173 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << code;
1178 const std::string code =
1184 CompileSuccessfully(code.c_str());
1185 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << code;
1190 const std::string code = GetShaderHeader("", false) + R"(
1194 CompileSuccessfully(code.c_str());
1203 const std::string code = GetShaderHeader() + R"(
1208 CompileSuccessfully(code.c_str());
1214 const std::string code = GetShaderHeader() + R"(
1219 CompileSuccessfully(code.c_str());
1227 const std::string code = GetShaderHeader() + R"(
1232 CompileSuccessfully(code.c_str());
1288 const std::string code = GetShaderHeader() + R"(
1308 CompileSuccessfully(code.c_str());
1313 << code;
7940 const std::string code = R"(
7970 CompileSuccessfully(code, env);
7978 const std::string code = R"(
8008 CompileSuccessfully(code, env);
8014 const std::string code = R"(
8044 CompileSuccessfully(code, env);