summaryrefslogtreecommitdiffstats
path: root/tests/reflection
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-05-02 11:56:13 -0700
committerGitHub <noreply@github.com>2024-05-02 11:56:13 -0700
commitf7d54af67e026feb2546af1deaf2513a36f8516e (patch)
treec751573fbfceb114eeac6217bb3ccc4c13f19ef2 /tests/reflection
parent679a457940027420817a85070b3fdb9bfc0cca2e (diff)
Fix fmod behavior targetting GLSL and SPIR-V (#4080)
* Fix fmod behavior targetting GLSL and SPIR-V The default implementation of fmod was doing "Modulo" operation when "fmod" in HLSL should do "remainder" operation. * Fix a mistake in `fmod` GLSL target When using __intrinsic_asm, the "if" logic wasn't emitted. "__intrinsic_asm" had to be called from a new function and `fmod` had to call it. Alternatively, I am using `operator?()` to workaround. A similar modification is made to `roundEven()` hoping for a better performance.
Diffstat (limited to 'tests/reflection')
0 files changed, 0 insertions, 0 deletions