summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkaizhangNV <149626564+kaizhangNV@users.noreply.github.com>2024-01-11 12:10:43 -0800
committerGitHub <noreply@github.com>2024-01-11 12:10:43 -0800
commit8e90098419e924980e7d92c28d7c87148b4821a5 (patch)
treeff7840a8559fa16d59742b653332d10c3f72c963 /docs
parent2c08bc4fc7b6e0d0ef4e6ce251673c15de60b54e (diff)
Support for gl_HitTriangleVertexPositionsEXT (#3405) (#3442)
* Support for gl_HitTriangleVertexPositionsEXT (#3405) Adding float3 HitTriangleVertexPositions(uint) to slang stdlib to support GLSL gl_HitTriangleVertexPositionsEXT builtin variable under extension of GL_EXT_ray_tracing_position_fetch. This function support emitting GLSL code and spir-V directly. * Update the function name --------- Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/design/stdlib-intrinsics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/design/stdlib-intrinsics.md b/docs/design/stdlib-intrinsics.md
index 76614beba..8d78de504 100644
--- a/docs/design/stdlib-intrinsics.md
+++ b/docs/design/stdlib-intrinsics.md
@@ -87,7 +87,7 @@ Currently `HLSL` has a special handling in that it is *assumed* if a declaration
The target can also be a capability atom. The atoms are listed in "slang-capability-defs.h".
-What is perhaps of importance here is that for some features for a specific target can have multiple ways of achieving the same effect - for example "GL_NV_ray_tracing" or "GL_NV_ray_tracing" are two different ray tracing extensions available for Vulkan through GLSL. The `-profile` option can disambiguate which extension is actually desired, and the capability with that name on the `target_intrinsic` specifies how to implement that feature for that specific extension.
+What is perhaps of importance here is that for some features for a specific target can have multiple ways of achieving the same effect - for example "GL_NV_ray_tracing" and "GL_EXT_ray_tracing" are two different ray tracing extensions available for Vulkan through GLSL. The `-profile` option can disambiguate which extension is actually desired, and the capability with that name on the `target_intrinsic` specifies how to implement that feature for that specific extension.
The expansion mechanism is implemented in "slang-intrinsic-expand.cpp" which will be most up to date.