MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / TEST_P

Function TEST_P

gtests/Hlsl.FromFile.cpp:73–78  ·  view source on GitHub ↗

Compiling HLSL to pre-legalized SPIR-V under Vulkan semantics. Expected to successfully generate both AST and SPIR-V.

Source from the content-addressed store, hash-verified

71// Compiling HLSL to pre-legalized SPIR-V under Vulkan semantics. Expected
72// to successfully generate both AST and SPIR-V.
73TEST_P(HlslCompileTest, FromFile)
74{
75 loadFileCompileAndCheck(GlobalTestSettings.testRoot, GetParam().fileName,
76 Source::HLSL, Semantics::Vulkan, glslang::EShTargetVulkan_1_0, glslang::EShTargetSpv_1_0,
77 Target::BothASTAndSpv, true, GetParam().entryPoint);
78}
79
80TEST_P(HlslVulkan1_1CompileTest, FromFile)
81{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected