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/GPU_framebuffer.h
parentc0e453233132ac0b1c217191c645bc01ea726400 (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu/GPU_framebuffer.h')
-rw-r--r--source/blender/gpu/GPU_framebuffer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h
index 6eb51c200f1..70ec7c19e7c 100644
--- a/source/blender/gpu/GPU_framebuffer.h
+++ b/source/blender/gpu/GPU_framebuffer.h
@@ -66,19 +66,19 @@ typedef struct GPULoadStore {
/* Load store config array (load_store_actions) matches attachment structure of
* GPU_framebuffer_config_array. This allows us to explicitly specify whether attachment data needs
* to be loaded and stored on a per-attachment basis. This enables a number of bandwidth
- * optimisations:
+ * optimizations:
* - No need to load contents if subsequent work is over-writing every pixel.
* - No need to store attachments whose contents are not used beyond this pass e.g. depth buffer.
- * - State can be customised at bind-time rather than applying to the framebuffer object as a
+ * - State can be customized at bind-time rather than applying to the frame-buffer object as a
* whole.
*
* Example:
* \code{.c}
* GPU_framebuffer_bind_loadstore(&fb, {
* {GPU_LOADACTION_LOAD, GPU_STOREACTION_DONT_CARE} // must be depth buffer
- * {GPU_LOADACTION_LOAD, GPU_STOREACTION_STORE}, // Colour attachment 0
- * {GPU_LOADACTION_DONT_CARE, GPU_STOREACTION_STORE}, // Colour attachment 1
- * {GPU_LOADACTION_DONT_CARE, GPU_STOREACTION_STORE} // Colour attachment 2
+ * {GPU_LOADACTION_LOAD, GPU_STOREACTION_STORE}, // Color attachment 0
+ * {GPU_LOADACTION_DONT_CARE, GPU_STOREACTION_STORE}, // Color attachment 1
+ * {GPU_LOADACTION_DONT_CARE, GPU_STOREACTION_STORE} // Color attachment 2
* })
* \encode
*/