diff options
author | Campbell Barton <campbell@blender.org> | 2022-02-07 07:33:10 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-02-07 07:33:10 +0300 |
commit | 2b14aa0a3930c1fc383b845b1eaab613a10a76ea (patch) | |
tree | 445c259757bfba59493651425243ad2b39105225 /source/blender/gpu | |
parent | 7e6066c9c3a883dcef64fb675c0eb3cf10423a91 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.hh | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_log.cc | 2 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 2 | ||||
-rw-r--r-- | source/blender/gpu/opengl/gl_shader_log.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh index ee5a79220b9..dafa741977c 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.hh +++ b/source/blender/gpu/intern/gpu_shader_create_info.hh @@ -130,7 +130,7 @@ enum class BuiltinBits { GLOBAL_INVOCATION_ID = (1 << 5), INSTANCE_ID = (1 << 6), /** - * Allow setting the target layer when the output is a layered framebuffer. + * Allow setting the target layer when the output is a layered frame-buffer. * \note Emulated through geometry shader on older hardware. */ LAYER = (1 << 7), diff --git a/source/blender/gpu/intern/gpu_shader_log.cc b/source/blender/gpu/intern/gpu_shader_log.cc index d20e49d3085..c879e912c5d 100644 --- a/source/blender/gpu/intern/gpu_shader_log.cc +++ b/source/blender/gpu/intern/gpu_shader_log.cc @@ -214,7 +214,7 @@ void Shader::print_log(Span<const char *> sources, if (source_index > 0) { row_in_file -= sources_end_line[source_index - 1]; } - /* Print the filename the error line is comming from. */ + /* Print the filename the error line is coming from. */ if (source_index > 0) { StringRefNull filename = shader::gpu_shader_dependency_get_filename_from_source_string( sources[source_index]); diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index 275f2c96bbd..48732918754 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -520,7 +520,7 @@ std::string GLShader::vertex_interface_declare(const ShaderCreateInfo &info) con ss << "\n/* Inputs. */\n"; for (const ShaderCreateInfo::VertIn &attr : info.vertex_inputs_) { if (GLContext::explicit_location_support && - /* Fix issue with amdgpu-pro + workbench_prepass_mesh_vert.glsl being quantized. */ + /* Fix issue with AMDGPU-PRO + workbench_prepass_mesh_vert.glsl being quantized. */ GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_ANY, GPU_DRIVER_OFFICIAL) == false) { ss << "layout(location = " << attr.index << ") "; } diff --git a/source/blender/gpu/opengl/gl_shader_log.cc b/source/blender/gpu/opengl/gl_shader_log.cc index 0ee70b54f52..ec13bc44136 100644 --- a/source/blender/gpu/opengl/gl_shader_log.cc +++ b/source/blender/gpu/opengl/gl_shader_log.cc @@ -61,7 +61,7 @@ char *GLLogParser::parse_line(char *log_line, GPULogItem &log_item) log_item.cursor.column = -1; } else if (GPU_type_matches(GPU_DEVICE_ATI, GPU_OS_UNIX, GPU_DRIVER_OFFICIAL) && - /* WORKAROUND(@fclem): Both Mesa and amdgpu-pro are reported as official. */ + /* WORKAROUND(@fclem): Both Mesa and AMDGPU-PRO are reported as official. */ StringRefNull(GPU_platform_version()).find(" Mesa ") == -1) { /* source:row */ log_item.cursor.source = log_item.cursor.row; |