mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-09 21:47:47 +00:00
Roll all SPIR-V dependencies together.
Function name changed in shaderc. SPIRV-Cross split up into additional files. BUG=chromium:951016 Change-Id: I49abb0a163fefdd61b7d6352e57e2a10f519abd9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6440 Reviewed-by: Frank Henigman <fjhenigman@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
@@ -28,7 +28,7 @@ namespace {
|
||||
DawnSPIRVCrossFuzzer::ExecuteWithSignalTrap([&compiler, &input]() {
|
||||
// Using the options that are used by Dawn, they appear in ShaderModuleGL.cpp
|
||||
shaderc_spvc::CompileOptions options;
|
||||
options.SetOutputLanguageVersion(440);
|
||||
options.SetGLSLLanguageVersion(440);
|
||||
options.SetFixupClipspace(true);
|
||||
compiler.CompileSpvToGlsl(input.data(), input.size(), options);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user