diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 03:30:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 05:31:19 +0300 |
commit | 2964c4e1d08836b0ef2d0382579e8da173650b24 (patch) | |
tree | 88232b2b0a10862d86e8f776e52a88c13bf1d764 /intern/cycles/device/metal/device_impl.mm | |
parent | 333dc7b5c4ee44986294c6b5683fa4813454279b (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/device/metal/device_impl.mm')
-rw-r--r-- | intern/cycles/device/metal/device_impl.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/metal/device_impl.mm b/intern/cycles/device/metal/device_impl.mm index 69a08ca07d1..fd249204646 100644 --- a/intern/cycles/device/metal/device_impl.mm +++ b/intern/cycles/device/metal/device_impl.mm @@ -333,7 +333,7 @@ bool MetalDevice::load_kernels(const uint _kernel_features) /* local helper: fetch the kernel source code, adjust it for specific PSO_.. kernel_type flavor, * then compile it into a MTLLibrary */ auto fetch_and_compile_source = [&](int kernel_type) { - /* record the source uesd to compile this library, for hash building later */ + /* Record the source used to compile this library, for hash building later. */ string &source = source_used_for_compile[kernel_type]; switch (kernel_type) { @@ -925,7 +925,7 @@ void MetalDevice::tex_alloc(device_texture &mem) } } - /* optimise the texture for GPU access */ + /* Optimize the texture for GPU access. */ id<MTLCommandBuffer> commandBuffer = [mtlGeneralCommandQueue commandBuffer]; id<MTLBlitCommandEncoder> blitCommandEncoder = [commandBuffer blitCommandEncoder]; [blitCommandEncoder optimizeContentsForGPUAccess:mtlTexture]; |