Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLSL: Use SPIR-V intrinsics for N{Min,Max,Clamp}. #2330

Merged
merged 1 commit into from
May 21, 2024

Conversation

HansKristian-Work
Copy link
Contributor

When targeting Vulkan semantics, we should emit code that is actually readable.

Also, make sure to use plain F{Min,Max,Clamp} on HLSL. HLSL has NaN-aware semantics by default.

When targeting Vulkan semantics, we should emit code that is actually
readable.

Also, make sure to use plain F{Min,Max,Clamp} on HLSL. HLSL has
NaN-aware semantics by default.
@HansKristian-Work HansKristian-Work merged commit ce22ebb into main May 21, 2024
6 checks passed
@HansKristian-Work HansKristian-Work deleted the spirv-intrinsics branch May 21, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant