diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-13 02:24:28 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-13 02:29:25 +0300 |
commit | 427a2c920a249c066e324e4a5e40dd141a4968aa (patch) | |
tree | 06fabc07f56f1b2dfea8b475a57fd725403c1d6f /source/blender/gpu/metal/mtl_context.mm | |
parent | 906b9f55afbf132218a3dc815da2652fbc502352 (diff) |
Cleanup: spelling in comments, capitalize tags
Also add missing task-ID reference & remove colon after \note as it
doesn't render properly in doxygen.
Diffstat (limited to 'source/blender/gpu/metal/mtl_context.mm')
-rw-r--r-- | source/blender/gpu/metal/mtl_context.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index de72340a9a8..94f5682b11b 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -49,7 +49,7 @@ MTLContext::MTLContext(void *ghost_window) /* Init debug. */ debug::mtl_debug_init(); - /* Initialise Metal modules. */ + /* Initialize Metal modules. */ this->state_manager = new MTLStateManager(this); /* TODO(Metal): Implement. */ @@ -121,7 +121,7 @@ bool MTLContext::is_render_pass_active() /* Metal Context Pipeline State. */ void MTLContext::pipeline_state_init() { - /*** Initialise state only once. ***/ + /*** Initialize state only once. ***/ if (!this->pipeline_state.initialised) { this->pipeline_state.initialised = true; this->pipeline_state.active_shader = NULL; @@ -277,7 +277,7 @@ id<MTLSamplerState> MTLContext::get_sampler_from_state(MTLSamplerState sampler_s id<MTLSamplerState> MTLContext::generate_sampler_from_state(MTLSamplerState sampler_state) { - /* Check if samper already exists for given state. */ + /* Check if sampler already exists for given state. */ id<MTLSamplerState> st = this->sampler_state_cache_[(unsigned int)sampler_state]; if (st != nil) { return st; |