From 0f5a2ce2ecf79fba79a9d20c9e3bcd4c31ee45bb Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 18 Dec 2024 15:34:16 -0800 Subject: Fix metadata of register space and varying params. (#5906) --- examples/reflection-api/README.md | 3 +++ examples/reflection-api/main.cpp | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/reflection-api/README.md b/examples/reflection-api/README.md index 9dc5f1745..f37ec4b69 100644 --- a/examples/reflection-api/README.md +++ b/examples/reflection-api/README.md @@ -4,3 +4,6 @@ Slang Reflection API Example This example shows basic usage of the Slang reflection API to traverse the parameters of a program, including type and layout information. + +This example is a companion Slang reflection API documentation: +https://shader-slang.org/slang/user-guide/compiling.html diff --git a/examples/reflection-api/main.cpp b/examples/reflection-api/main.cpp index 9d773fffd..5c157b797 100644 --- a/examples/reflection-api/main.cpp +++ b/examples/reflection-api/main.cpp @@ -7,9 +7,8 @@ // This example uses the Slang reflection API to travserse the structure // of the parameters of a Slang program and their types. // -// This program is a companion to a document on the Slang reflection API. -// Once that document is published, this paragraph will be updated to -// properly link to that document. +// This program is a companion Slang reflection API documentation: +// https://shader-slang.org/slang/user-guide/compiling.html // // Boilerplate // ----------- -- cgit v1.2.3