summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-07-25 10:08:28 -0700
committerGitHub <noreply@github.com>2022-07-25 10:08:28 -0700
commit9566e8af25f87ad034a984db9d847942e454a180 (patch)
tree2f295bf2bf60c39fd35b6b634b903d574b4ca99e /examples
parent70147fc7ba6abe0b669363ed5adfd8d4d9545c3f (diff)
Allow `class` to implement COM interface, [DLLExport] (#2338)
* Allow `class` to implement COM interface, [DLLExport] * Fix [COM] usage in tests and examples with UUIDs. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/cpu-com-example/shader.slang2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpu-com-example/shader.slang b/examples/cpu-com-example/shader.slang
index 44b1f5b81..951fdc218 100644
--- a/examples/cpu-com-example/shader.slang
+++ b/examples/cpu-com-example/shader.slang
@@ -9,7 +9,7 @@ public __extern_cpp NativeString getString(NativeString in)
return in;
}
-[COM]
+[COM("007E2DAF-3A1F-4BC3-B08B-A9DB233D38CE")]
interface IDoThings
{
int doThing(int a, int b);