From 3d132ead502f792fc67117bad5d101c137f33fef Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 31 Mar 2022 13:00:10 +1100 Subject: Cleanup: spelling, trailing space for comment-blocks --- source/blender/gpu/intern/gpu_shader_create_info.hh | 2 +- source/blender/gpu/intern/gpu_viewport.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/gpu/intern') diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh index ad5ca9ce29c..51008993353 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.hh +++ b/source/blender/gpu/intern/gpu_shader_create_info.hh @@ -284,7 +284,7 @@ struct ShaderCreateInfo { bool auto_resource_location_ = false; /** If true, force depth and stencil tests to always happen before fragment shader invocation. */ bool early_fragment_test_ = false; - /** Allow optimisation when fragment shader writes to gl_FragDepth. */ + /** Allow optimization when fragment shader writes to `gl_FragDepth`. */ DepthWrite depth_write_ = DepthWrite::ANY; /** * Maximum length of all the resource names including each null terminator. diff --git a/source/blender/gpu/intern/gpu_viewport.c b/source/blender/gpu/intern/gpu_viewport.c index 7bffafd7f9d..a0efe12f523 100644 --- a/source/blender/gpu/intern/gpu_viewport.c +++ b/source/blender/gpu/intern/gpu_viewport.c @@ -197,7 +197,7 @@ void GPU_viewport_bind_from_offscreen(GPUViewport *viewport, /* XR surfaces will already check for texture size changes and free if necessary (see * #wm_xr_session_surface_offscreen_ensure()), so don't free here as it has a significant * performance impact (leads to texture re-creation in #gpu_viewport_textures_create() every VR - * drawing iteration).*/ + * drawing iteration). */ if (!is_xr_surface) { gpu_viewport_textures_free(viewport); } -- cgit v1.2.3