Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-06-29 02:40:16 +0300
committerCampbell Barton <campbell@blender.org>2022-06-29 02:40:16 +0300
commit45645936e91a8379b19f4fbe02732780dc6f60c1 (patch)
treed688e97e2bfd65051fbf9ca90af57ea6dbb0d7d4 /source/blender/gpu/metal/mtl_framebuffer.hh
parentc0e453233132ac0b1c217191c645bc01ea726400 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu/metal/mtl_framebuffer.hh')
-rw-r--r--source/blender/gpu/metal/mtl_framebuffer.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpu/metal/mtl_framebuffer.hh b/source/blender/gpu/metal/mtl_framebuffer.hh
index 6849e574d81..d6fa1850109 100644
--- a/source/blender/gpu/metal/mtl_framebuffer.hh
+++ b/source/blender/gpu/metal/mtl_framebuffer.hh
@@ -1,7 +1,7 @@
/** \file
* \ingroup gpu
*
- * Encapsulation of Framebuffer states (attached textures, viewport, scissors).
+ * Encapsulation of Frame-buffer states (attached textures, viewport, scissors).
*/
#pragma once
@@ -64,17 +64,17 @@ class MTLFrameBuffer : public FrameBuffer {
MTLContext *dirty_state_ctx_;
/* Whether a clear is pending -- Used to toggle between clear and load FB configurations
- * (without dirtying the state) - Framebuffer load config is used if no GPU_clear_* command
+ * (without dirtying the state) - Frame-buffer load config is used if no `GPU_clear_*` command
* was issued after binding the FrameBuffer. */
bool has_pending_clear_;
/* Render Pass Descriptors:
- * There are 3 MTLRenderPassDescriptors for different ways in which a framebuffer
+ * There are 3 MTLRenderPassDescriptors for different ways in which a frame-buffer
* can be configured:
* [0] = CLEAR CONFIG -- Used when a GPU_framebuffer_clear_* command has been issued.
* [1] = LOAD CONFIG -- Used if bound, but no clear is required.
* [2] = CUSTOM CONFIG -- When using GPU_framebuffer_bind_ex to manually specify
- * load-store configuration for optimal bandwidth utilisation.
+ * load-store configuration for optimal bandwidth utilization.
* -- We cache these different configs to avoid re-generation --
*/
typedef enum {
@@ -91,7 +91,7 @@ class MTLFrameBuffer : public FrameBuffer {
bool descriptor_dirty_[MTL_FB_CONFIG_MAX];
/* Whether SRGB is enabled for this framebuffer configuration. */
bool srgb_enabled_;
- /* Whether the primary Framebuffer attachment is an SRGB target or not. */
+ /* Whether the primary Frame-buffer attachment is an SRGB target or not. */
bool is_srgb_;
public: