diff --git a/src/fuzzers/DawnSPIRVCrossHLSLFastFuzzer.cpp b/src/fuzzers/DawnSPIRVCrossHLSLFastFuzzer.cpp index 193a758133..d3b52d483e 100644 --- a/src/fuzzers/DawnSPIRVCrossHLSLFastFuzzer.cpp +++ b/src/fuzzers/DawnSPIRVCrossHLSLFastFuzzer.cpp @@ -33,7 +33,7 @@ namespace { // Using the options that are used by Dawn, they appear in ShaderModuleD3D12.cpp options.SetFlipVertY(true); - options.SetShaderModel(51); + options.SetHLSLShaderModel(51); compiler.CompileSpvToHlsl(input.data(), input.size(), options); });