Skip to content

Commit

Permalink
Fix markup in "Operators" section
Browse files Browse the repository at this point in the history
Some of the operators ('+' and '++') were being treated as asciidoctor
markup, so they were disappearing and some of the characters that were
supposed to be markup were appearing in their place. Fix by using the
builtin macro for '+' instead of the character.

Fixes Public GLSL issue KhronosGroup#214.
  • Loading branch information
gnl21 committed Dec 12, 2023
1 parent 69de2ac commit 90f29c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9580,8 +9580,8 @@ endif::ESSL[]
Results are undefined if one or both operands are negative.
The operator modulus (*%*) is not defined for any other data types
(non-integer types).
* The arithmetic unary operators plus (*+*), negate (*-*), post- and pre-increment and
decrement (*--* and *++*) operate on integer or floating-point values
* The arithmetic unary operators plus (*{plus}*), negate (*-*), post- and pre-increment and
decrement (*--* and *{plus}{plus}*) operate on integer or floating-point values
(including vectors and matrices).
All unary operators work component-wise on their operands.
These result with the same type they operated on.
Expand Down

0 comments on commit 90f29c0

Please sign in to comment.