diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-26 08:06:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-26 08:06:22 +0300 |
commit | b06fff4737e5a18bb999f6633c7df67dda63ace7 (patch) | |
tree | b2efcf91d1d2e2c2119b9176393469f56006548f /source/blender/gpu | |
parent | 94d2a611ec0cb66d24828aa8d21e5a1173cc8c13 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.cc | 2 | ||||
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_create_info.hh | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_create_info.cc b/source/blender/gpu/intern/gpu_shader_create_info.cc index 9a32e1b2406..66536133795 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.cc +++ b/source/blender/gpu/intern/gpu_shader_create_info.cc @@ -105,7 +105,7 @@ void ShaderCreateInfo::finalize() void ShaderCreateInfo::validate(const ShaderCreateInfo &other_info) { { - /* Check same bindpoints usage in OGL. */ + /* Check same bind-points usage in OGL. */ Set<int> images, samplers, ubos, ssbos; auto register_resource = [&](const Resource &res) -> bool { diff --git a/source/blender/gpu/intern/gpu_shader_create_info.hh b/source/blender/gpu/intern/gpu_shader_create_info.hh index 6fe6d7676fb..f8149bc7be0 100644 --- a/source/blender/gpu/intern/gpu_shader_create_info.hh +++ b/source/blender/gpu/intern/gpu_shader_create_info.hh @@ -63,7 +63,10 @@ enum class Type { }; enum class BuiltinBits { - /** Allow getting barycentic coordinates inside the fragment shader. NOTE: emulated on OpenGL. */ + /** + * Allow getting barycentric coordinates inside the fragment shader. + * \note Emulated on OpenGL. + */ BARYCENTRIC_COORD = (1 << 0), FRAG_COORD = (1 << 2), FRONT_FACING = (1 << 4), |