From: Mikko Rasa Date: Tue, 6 Apr 2021 09:54:06 +0000 (+0300) Subject: Adjust GLSL builtins X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=305b62cf4f7e2a4ca3cc56109003aed6bde61c25;hp=305b62cf4f7e2a4ca3cc56109003aed6bde61c25;p=libs%2Fgl.git Adjust GLSL builtins 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. ---