summaryrefslogtreecommitdiffstats
path: root/tests/spirv/fwidth.slang
Commit message (Collapse)AuthorAge
* Add fwidth_coarse and fwidth_fine functions (#6941)pdeayton-nv2025-05-01
| | | | | | | | 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.
* Fix spirv intrinsics for partial derivatives. (#3355)Yong He2023-11-27
Co-authored-by: Yong He <yhe@nvidia.com>