From a4b22fec52d1374a061c56f31a189162192a03c3 Mon Sep 17 00:00:00 2001 From: slangbot <186143334+slangbot@users.noreply.github.com> Date: Tue, 5 Nov 2024 07:53:56 +0000 Subject: [PATCH] format code --- source/slang/slang-type-layout.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/slang/slang-type-layout.cpp b/source/slang/slang-type-layout.cpp index 49f5622c70..298e33c775 100644 --- a/source/slang/slang-type-layout.cpp +++ b/source/slang/slang-type-layout.cpp @@ -2363,13 +2363,11 @@ bool isWGPUTarget(TargetRequest* targetReq) { switch (targetReq->getTarget()) { - default: - return false; + default: return false; case CodeGenTarget::WGSL: case CodeGenTarget::WGSLSPIRV: - case CodeGenTarget::WGSLSPIRVAssembly: - return true; + case CodeGenTarget::WGSLSPIRVAssembly: return true; } }