Skip to content

Commit 7a655ea

Browse files
committed
format code
1 parent 509fa2a commit 7a655ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

source/slang/slang-diagnostic-defs.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -2255,7 +2255,8 @@ DIAGNOSTIC(
22552255
41403,
22562256
Error,
22572257
invalidAtomicDestinationPointer,
2258-
"cannot perform atomic operation because destination is neither groupshared nor from a device buffer.")
2258+
"cannot perform atomic operation because destination is neither groupshared nor from a device "
2259+
"buffer.")
22592260

22602261
//
22612262
// 5xxxx - Target code generation.

source/slang/slang-emit.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -1322,7 +1322,8 @@ Result linkAndOptimizeIR(
13221322
byteAddressBufferOptions);
13231323
}
13241324

1325-
// For SPIR-V, this function is called elsewhere, so that it can happen after address space specialization
1325+
// For SPIR-V, this function is called elsewhere, so that it can happen after address space
1326+
// specialization
13261327
if (target != CodeGenTarget::SPIRV && target != CodeGenTarget::SPIRVAssembly)
13271328
validateAtomicOperations(sink, irModule->getModuleInst());
13281329

0 commit comments

Comments
 (0)