Skip to content

Commit

Permalink
Merge pull request #1 from slangbot/format-5483-aleino/wgpu
Browse files Browse the repository at this point in the history
Format code for PR shader-slang#5483
  • Loading branch information
aleino-nv authored Nov 5, 2024
2 parents 0221e73 + a4b22fe commit 8a041dc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions source/slang/slang-type-layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 8a041dc

Please sign in to comment.