summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/imported.slang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/imported.slang')
-rw-r--r--tools/gfx-unit-test/imported.slang8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/imported.slang b/tools/gfx-unit-test/imported.slang
new file mode 100644
index 000000000..a44782390
--- /dev/null
+++ b/tools/gfx-unit-test/imported.slang
@@ -0,0 +1,8 @@
+struct TestFunction
+ {
+ void simpleElementAdd(RWStructuredBuffer<float> buffer, uint index)
+ {
+ var input = buffer[index];
+ buffer[index] = input + 1.0f;
+ }
+ }; \ No newline at end of file