Implement missing variants of built-in functions abs and sign
Missing variants that are introduced in GLES3:
genIType sign (genIType x)
genIType abs (genIType x)
related dEQP tests:
dEQP-GLES3.functional.shaders.builtin_functions.common.abs
dEQP-GLES3.functional.shaders.builtin_functions.common.sign
Are HLSL intrinsics available for missing variants?
Yes.
https://msdn.microsoft.com/en-us/library/windows/desktop/bb509562(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/bb509649(v=vs.85).aspx
Original issue reported on code.google.com by apat...@nvidia.com on 18 Feb 2015 at 2:50
Original issue reported on code.google.com by
apat...@nvidia.com
on 18 Feb 2015 at 2:50