File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
MoltenVK/MoltenVK/GPUObjects Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 296
296
if ( mvkIsAnyFlagEnabled (_buffer->getUsage (), VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT) ) {
297
297
usage |= MTLTextureUsageShaderWrite ;
298
298
#if MVK_XCODE_15
299
- if (getMetalFeatures ().nativeTextureAtomics && (_mtlPixelFormat == MTLPixelFormatR32Sint || _mtlPixelFormat == MTLPixelFormatR32Uint || _mtlPixelFormat == MTLPixelFormatRG32Uint ))
299
+ if (getMetalFeatures ().nativeTextureAtomics && (_mtlPixelFormat == MTLPixelFormatR32Sint || _mtlPixelFormat == MTLPixelFormatR32Uint ))
300
300
usage |= MTLTextureUsageShaderAtomic;
301
301
#endif
302
302
}
Original file line number Diff line number Diff line change 748
748
}
749
749
750
750
#if MVK_XCODE_15
751
- if (supportAtomics && (mtlFormat == MTLPixelFormatR32Uint || mtlFormat == MTLPixelFormatR32Sint || mtlFormat == MTLPixelFormatRG32Uint )) {
751
+ if (supportAtomics && (mtlFormat == MTLPixelFormatR32Uint || mtlFormat == MTLPixelFormatR32Sint )) {
752
752
mvkEnableFlags (mtlUsage, MTLTextureUsageShaderAtomic);
753
753
}
754
754
#endif
1542
1542
// Including this here so we remember to update this if support is added to Vulkan in the future.
1543
1543
bool atomic64 = noVulkanSupport && (gpuCaps.supportsApple9 || (gpuCaps.supportsApple8 && gpuCaps.supportsMac2 ));
1544
1544
enableMTLPixFmtCapsIf ( atomic64, RG32Uint, Atomic );
1545
- enableMTLPixFmtCapsIf ( atomic64, RG32Sint, Atomic );
1546
1545
1547
1546
setMTLPixFmtCapsIf ( iosOnly8, RG32Float, RWCMB );
1548
1547
setMTLPixFmtCapsIf ( iosOnly6, RG32Float, RWCB );
You can’t perform that action at this time.
0 commit comments