You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a minor issue, i am just reporting this so that this does not get lost.
When trying to use
std::sqrtf()
std::fabsf()
std::powf()
...
and compiling with circle to SPIR-V binaries, one gets the error message:
'sqrtf' is not a member of std
In modern C++ such code should work, so circle should be able to compile such code.
(knowing that a workaround is trivial - so really a low prio issue)
The text was updated successfully, but these errors were encountered:
[[using spirv:comp, local_size(8, 8, 1)]] void main() { uint x = glcomp_GlobalInvocationID.x; uint y = glcomp_GlobalInvocationID.y; }
when i compile that (stored in a file test.cxx) with
./circle -shader -c -emit-spirv test.cxx
i get the error message:
'sqrtf' is not a member of namespace std
This is a minor issue, i am just reporting this so that this does not get lost.
When trying to use
std::sqrtf()
std::fabsf()
std::powf()
...
and compiling with circle to SPIR-V binaries, one gets the error message:
'sqrtf' is not a member of std
In modern C++ such code should work, so circle should be able to compile such code.
(knowing that a workaround is trivial - so really a low prio issue)
The text was updated successfully, but these errors were encountered: