File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
MoltenVK/MoltenVK/GPUObjects Expand file tree Collapse file tree 2 files changed +2
-2
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
You can’t perform that action at this time.
0 commit comments