$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [qvm] Terseness of syntax etc.
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2015-12-10 14:59:10
On Thu, Dec 10, 2015 at 5:07 AM, Thomas Trummer <th.trummer_at_[hidden]>
wrote:
> > On 10 Dec 2015, at 11:43, Asbjørn <lordcrc_at_[hidden]> 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).aspx
> 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