mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Fix MSVC warnings on enum class switches
This commit is contained in:
committed by
Corentin Wallez
parent
6fb3aebf0c
commit
96acaef95e
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "tests/NXTTest.h"
|
||||
|
||||
#include "common/Assert.h"
|
||||
#include "utils/NXTHelpers.h"
|
||||
|
||||
using nxt::InputStepMode;
|
||||
@@ -72,6 +73,8 @@ class InputStateTest : public NXTTest {
|
||||
return component >= 2;
|
||||
case VertexFormat::FloatR32:
|
||||
return component >= 1;
|
||||
default:
|
||||
NXT_UNREACHABLE();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user