summaryrefslogtreecommitdiff
path: root/tests/spirv/fwidth.slang
AgeCommit message (Collapse)Author
2025-05-01Add fwidth_coarse and fwidth_fine functions (#6941)pdeayton-nv
Fixes #6940. Add new Slang fwidth_coarse and fwidth_fine functions, similar to GLSL's fwidthCoarse and fwidthFine. Move the implementation of the GLSL functions from glsl.meta.slang to hlsl.meta.slang. Update the existing spirv/fwidth.slang test with the new functions, and add a new hlsl-intrinsic/fragment-derivative.slang test to test HLSL, SPIR-V, and GLSL targets for the new functions.
2023-11-27Fix spirv intrinsics for partial derivatives. (#3355)Yong He
Co-authored-by: Yong He <yhe@nvidia.com>