10 Dec
2015
10 Dec
'15
7:59 p.m.
On Thu, Dec 10, 2015 at 5:07 AM, Thomas Trummer
On 10 Dec 2015, at 11:43, Asbjørn
wrote: FWIW, there is precedent for using the "v.xyz" style for swizzling, though without the parenthesis behind. In OpenGL's shading language, GLSL[1], you can write
Same with HLSL and OpenCL:
https://msdn.microsoft.com/en-us/library/windows/desktop/bb219869(v=vs.85).a... https://www.khronos.org/registry/cl/specs/
Indeed, however QVM can't use the dot syntax. So, the GLSL's v.xyz is (v,XYZ) in QVM. Thanks! Emil