diff options
author | Ian Romanick <[email protected]> | 2016-05-17 15:01:19 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-05-18 10:53:34 -0700 |
commit | cf9220b11f599ca77134528f5b4ad505f1345e1c (patch) | |
tree | 214576f3c62ae72417d913940b28a2713072142b /src/compiler/glsl/link_varyings.cpp | |
parent | d2579728c96e1386cc2c1894c958a219edc27639 (diff) |
glsl/linker: Fix trivial typos in comments
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/glsl/link_varyings.cpp')
-rw-r--r-- | src/compiler/glsl/link_varyings.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp index 69b82d5448b..59ce1a2d285 100644 --- a/src/compiler/glsl/link_varyings.cpp +++ b/src/compiler/glsl/link_varyings.cpp @@ -1278,8 +1278,8 @@ varying_matches::~varying_matches() /** - * Packing is always safe on individual arrays, structure and matices. It is - * also safe if the varying is only used for transform feedback. + * Packing is always safe on individual arrays, structures, and matrices. It + * is also safe if the varying is only used for transform feedback. */ bool varying_matches::is_varying_packing_safe(const glsl_type *type, @@ -1980,10 +1980,10 @@ assign_varying_locations(struct gl_context *ctx, /* Disable varying packing for GL 4.4+ as there is no guarantee * that interpolation qualifiers will match between shaders in these - * versions. We also disable packing on outerward facing interfaces for + * versions. We also disable packing on outward facing interfaces for * SSO because in ES we need to retain the unpacked varying information * for draw time validation. For desktop GL we could allow packing for - * versions < 4.4 but its just safer not to do packing. + * versions < 4.4 but it's just safer not to do packing. * * Packing is still enabled on individual arrays, structs, and matrices as * these are required by the transform feedback code and it is still safe @@ -2080,7 +2080,7 @@ assign_varying_locations(struct gl_context *ctx, consumer_interface_inputs, consumer_inputs_with_locations); - /* If a matching input variable was found, add this ouptut (and the + /* If a matching input variable was found, add this output (and the * input) to the set. If this is a separable program and there is no * consumer stage, add the output. * |