]> git.tdb.fi Git - libs/gl.git/commitdiff
Adjust GLSL builtins
authorMikko Rasa <tdb@tdb.fi>
Tue, 6 Apr 2021 09:54:06 +0000 (12:54 +0300)
committerMikko Rasa <tdb@tdb.fi>
Tue, 6 Apr 2021 09:57:39 +0000 (12:57 +0300)
Remove some functions which are complicated to implement in SPIR-V due
to the use of ad-hoc struct types or pointers.  I may add them back
later if there turns out to be some use for them.

Add inline definitions for some overloads taking mixed vector and scalar
arguments.  SPIR-V operations require all operands to have the same
number of elements.  Builtin functions are always inlined even if used
more than once.


No differences found