[ir][spirv-writer] Fix MSVC build

Change-Id: I11b674b422be0499c5016d4617703ce40cc63f85
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132280
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: James Price <jrprice@google.com>
This commit is contained in:
James Price 2023-05-09 16:50:22 +00:00 committed by Dawn LUCI CQ
parent 6c18123058
commit fbef69b61c
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void GeneratorImplIr::EmitFunction(const ir::Function* func) {
}
void GeneratorImplIr::EmitEntryPoint(const ir::Function* func, uint32_t id) {
SpvExecutionModel stage;
SpvExecutionModel stage = SpvExecutionModelMax;
switch (func->pipeline_stage) {
case ir::Function::PipelineStage::kCompute: {
stage = SpvExecutionModelGLCompute;