Mesa (master): glsl: Fix typos in comments.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 11 19:42:07 UTC 2020
Module: Mesa
Branch: master
Commit: c432d4814ad7ffadb89b82defd49685c211b3515
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c432d4814ad7ffadb89b82defd49685c211b3515
Author: Vinson Lee <vlee at freedesktop.org>
Date: Mon Nov 2 18:24:37 2020 -0800
glsl: Fix typos in comments.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri at itsqueeze.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7415>
---
src/compiler/glsl/ir.cpp | 2 +-
src/compiler/glsl/ir.h | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp
index d24d98c0637..b2158e0888a 100644
--- a/src/compiler/glsl/ir.cpp
+++ b/src/compiler/glsl/ir.cpp
@@ -1748,7 +1748,7 @@ ir_dereference::is_lvalue(const struct _mesa_glsl_parse_state *state) const
{
ir_variable *var = this->variable_referenced();
- /* Every l-value derference chain eventually ends in a variable.
+ /* Every l-value dereference chain eventually ends in a variable.
*/
if ((var == NULL) || var->data.read_only)
return false;
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index 2ec78f7bdfd..aa7c5d6124c 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -557,7 +557,7 @@ public:
/**
* Get the max_ifc_array_access pointer
*
- * A "set" function is not needed because the array is dynmically allocated
+ * A "set" function is not needed because the array is dynamically allocated
* as necessary.
*/
inline int *get_max_ifc_array_access()
@@ -1276,7 +1276,7 @@ public:
return intrinsic_id != ir_intrinsic_invalid;
}
- /** Indentifier for this intrinsic. */
+ /** Identifier for this intrinsic. */
enum ir_intrinsic_id intrinsic_id;
/** Whether or not a built-in is available for this shader. */
@@ -1853,7 +1853,7 @@ enum ir_texture_opcode {
ir_tex, /**< Regular texture look-up */
ir_txb, /**< Texture look-up with LOD bias */
ir_txl, /**< Texture look-up with explicit LOD */
- ir_txd, /**< Texture look-up with partial derivatvies */
+ ir_txd, /**< Texture look-up with partial derivatives */
ir_txf, /**< Texel fetch with explicit LOD */
ir_txf_ms, /**< Multisample texture fetch */
ir_txs, /**< Texture size */
@@ -2096,7 +2096,7 @@ public:
{
/* ir_dereference_variable objects always dereference the entire
* variable. However, if this dereference is dereferenced by anything
- * else, the complete deferefernce chain is not a whole-variable
+ * else, the complete dereference chain is not a whole-variable
* dereference. This method should only be called on the top most
* ir_rvalue in a dereference chain.
*/
More information about the mesa-commit
mailing list