glsl: Fix typos in comments.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7415>
This commit is contained in:
@@ -1748,7 +1748,7 @@ ir_dereference::is_lvalue(const struct _mesa_glsl_parse_state *state) const
|
|||||||
{
|
{
|
||||||
ir_variable *var = this->variable_referenced();
|
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)
|
if ((var == NULL) || var->data.read_only)
|
||||||
return false;
|
return false;
|
||||||
|
@@ -557,7 +557,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* Get the max_ifc_array_access pointer
|
* 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.
|
* as necessary.
|
||||||
*/
|
*/
|
||||||
inline int *get_max_ifc_array_access()
|
inline int *get_max_ifc_array_access()
|
||||||
@@ -1276,7 +1276,7 @@ public:
|
|||||||
return intrinsic_id != ir_intrinsic_invalid;
|
return intrinsic_id != ir_intrinsic_invalid;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Indentifier for this intrinsic. */
|
/** Identifier for this intrinsic. */
|
||||||
enum ir_intrinsic_id intrinsic_id;
|
enum ir_intrinsic_id intrinsic_id;
|
||||||
|
|
||||||
/** Whether or not a built-in is available for this shader. */
|
/** 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_tex, /**< Regular texture look-up */
|
||||||
ir_txb, /**< Texture look-up with LOD bias */
|
ir_txb, /**< Texture look-up with LOD bias */
|
||||||
ir_txl, /**< Texture look-up with explicit LOD */
|
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, /**< Texel fetch with explicit LOD */
|
||||||
ir_txf_ms, /**< Multisample texture fetch */
|
ir_txf_ms, /**< Multisample texture fetch */
|
||||||
ir_txs, /**< Texture size */
|
ir_txs, /**< Texture size */
|
||||||
@@ -2096,7 +2096,7 @@ public:
|
|||||||
{
|
{
|
||||||
/* ir_dereference_variable objects always dereference the entire
|
/* ir_dereference_variable objects always dereference the entire
|
||||||
* variable. However, if this dereference is dereferenced by anything
|
* 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
|
* dereference. This method should only be called on the top most
|
||||||
* ir_rvalue in a dereference chain.
|
* ir_rvalue in a dereference chain.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user