[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:
parent
6c18123058
commit
fbef69b61c
|
@ -128,7 +128,7 @@ void GeneratorImplIr::EmitFunction(const ir::Function* func) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GeneratorImplIr::EmitEntryPoint(const ir::Function* func, uint32_t id) {
|
void GeneratorImplIr::EmitEntryPoint(const ir::Function* func, uint32_t id) {
|
||||||
SpvExecutionModel stage;
|
SpvExecutionModel stage = SpvExecutionModelMax;
|
||||||
switch (func->pipeline_stage) {
|
switch (func->pipeline_stage) {
|
||||||
case ir::Function::PipelineStage::kCompute: {
|
case ir::Function::PipelineStage::kCompute: {
|
||||||
stage = SpvExecutionModelGLCompute;
|
stage = SpvExecutionModelGLCompute;
|
||||||
|
|
Loading…
Reference in New Issue