From 401d8cdb12ae69aeb216c80c9bb90240d8359649 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 23 Feb 2024 16:39:46 -0800 Subject: Add slangc interface to compile and use ir modules. (#3615) * Add slangc interface to compile and use ir modules. * Fix glsl scalar layout settings not copied to target. * Fix. * Cleanups. --- tests/serialization/serialized-module.slang | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests/serialization/serialized-module.slang') diff --git a/tests/serialization/serialized-module.slang b/tests/serialization/serialized-module.slang index e94edf8d4..861ddb300 100644 --- a/tests/serialization/serialized-module.slang +++ b/tests/serialization/serialized-module.slang @@ -2,13 +2,9 @@ // serialized-module.slang -struct Thing -{ - int a; - int b; -}; +import serialized_module_shared; -int foo(Thing thing) +export int foo(Thing thing) { return (thing.a + thing.b) - thing.b; } -- cgit v1.2.3