summaryrefslogtreecommitdiffstats
path: root/examples/triangle
diff options
context:
space:
mode:
authorpdeayton-nv <205388607+pdeayton-nv@users.noreply.github.com>2025-05-01 14:51:34 -0700
committerGitHub <noreply@github.com>2025-05-01 14:51:34 -0700
commit7d7027853a94c83e9b90b8a11877e91cdaa3e81b (patch)
tree6ed96ae4fc5b2cbfaa0abfd44769eaab2ef6b981 /examples/triangle
parentdde654c8605ea65f959fcadaa6618337ab1f20c0 (diff)
Add fwidth_coarse and fwidth_fine functions (#6941)
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.
Diffstat (limited to 'examples/triangle')
0 files changed, 0 insertions, 0 deletions