Lines Matching defs:spirv
26 #include "spirv-tools/libspirv.h"
2171 const std::string spirv = R"(
2177 CompileSuccessfully(spirv);
2182 const std::string spirv = R"(
2188 CompileSuccessfully(spirv);
2196 const std::string spirv = R"(
2203 CompileSuccessfully(spirv);
2208 const std::string spirv = R"(
2215 CompileSuccessfully(spirv, SPV_ENV_VULKAN_1_0);
2223 const std::string spirv = R"(
2234 CompileSuccessfully(spirv, SPV_ENV_VULKAN_1_0);
2239 const std::string spirv = R"(
2248 CompileSuccessfully(spirv, SPV_ENV_VULKAN_1_0);
2257 const std::string spirv = R"(
2265 CompileSuccessfully(spirv, SPV_ENV_OPENCL_1_2);
2274 const std::string spirv = R"(
2284 CompileSuccessfully(spirv, SPV_ENV_OPENCL_1_2);
2289 const std::string spirv = R"(
2298 CompileSuccessfully(spirv, SPV_ENV_OPENCL_1_2);
2308 const std::string spirv = R"(
2316 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_1_2);
2326 const std::string spirv = R"(
2336 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_1_2);
2341 const std::string spirv = R"(
2350 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_1_2);
2359 const std::string spirv = R"(
2368 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_1_2);
2377 const std::string spirv = R"(
2386 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_0);
2391 const std::string spirv = R"(
2399 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_0);
2409 const std::string spirv = R"(
2419 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_0);
2424 const std::string spirv = R"(
2433 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_0);
2442 const std::string spirv = R"(
2450 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_0);
2459 const std::string spirv = R"(
2469 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_0);
2474 const std::string spirv = R"(
2483 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_0);
2492 const std::string spirv = R"(
2500 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_2);
2505 const std::string spirv = R"(
2513 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_2);
2522 const std::string spirv = R"(
2532 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_2);
2537 const std::string spirv = R"(
2546 CompileSuccessfully(spirv, SPV_ENV_OPENCL_2_2);
2556 const std::string spirv = R"(
2564 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_2);
2574 const std::string spirv = R"(
2584 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_2);
2589 const std::string spirv = R"(
2598 CompileSuccessfully(spirv, SPV_ENV_OPENCL_EMBEDDED_2_2);
2613 const std::string spirv = R"(
2619 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2629 const std::string spirv = R"(
2635 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2647 const std::string spirv = R"(
2657 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2671 const std::string spirv = R"(
2689 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2699 const std::string spirv = R"(
2717 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2727 const std::string spirv = R"(
2745 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2751 const std::string spirv = R"(
2759 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_3);
2765 const std::string spirv = R"(
2773 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_3);
2784 const std::string spirv = R"(
2803 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_0);
2843 const auto spirv = MinimalShaderModuleWithCapability(GetParam().capability);
2844 CompileSuccessfully(spirv, GetParam().last_version_requiring_extension);
2850 << spirv << "\n";
2858 const auto spirv = MinimalShaderModuleWithCapability(GetParam().capability);
2859 CompileSuccessfully(spirv, GetParam().first_version_in_core);
2862 EXPECT_THAT(getDiagnosticString(), Eq("")) << spirv << "\n";
2867 const auto spirv =
2869 CompileSuccessfully(spirv, GetParam().first_version_in_core);
2872 EXPECT_THAT(getDiagnosticString(), Eq("")) << spirv << "\n";
2937 const auto spirv =
2939 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_4);
2952 const auto spirv =
2954 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_5);
2967 const auto spirv = MinimalShaderModuleWithCapability("ShaderViewportIndex");
2968 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_5);
2974 const auto spirv = MinimalShaderModuleWithCapability("ShaderLayer");
2975 CompileSuccessfully(spirv, SPV_ENV_UNIVERSAL_1_5);