Skip to content

Commit

Permalink
Merge pull request KhronosGroup#271 from gnl21/gnl-sqrt-double
Browse files Browse the repository at this point in the history
ESSL: Stop displaying double-precision overloads
  • Loading branch information
gnl21 authored Dec 17, 2024
2 parents efcd4ff + 79434b2 commit c3ab73e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions chapters/builtinfunctions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,22 @@ The description is per component.
| Returns the base 2 logarithm of _x_, i.e., returns the value _y_ which
satisfies the equation [eq]#x = 2^y^#.
Results are undefined if [eq]#x {leq} 0#.
ifdef::GLSL[]
| genFType *sqrt*(genFType _x_) +
genDType *sqrt*(genDType _x_)
endif::GLSL[]
ifdef::ESSL[]
| genFType *sqrt*(genFType _x_)
endif::ESSL[]
| Returns [eq]#sqrt(x)#.
Results are undefined if [eq]#x < 0#.
ifdef::GLSL[]
| genFType *inversesqrt*(genFType _x_) +
genDType *inversesqrt*(genDType _x_)
endif::GLSL[]
ifdef::ESSL[]
| genFType *inversesqrt*(genFType _x_)
endif::ESSL[]
| Returns [eq]#1 / sqrt(x)#.
Results are undefined if [eq]#x {leq} 0#.
|====
Expand Down

0 comments on commit c3ab73e

Please sign in to comment.