summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8578b41..20ebc0d 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
## modular slang
-the idea here is just to make something like slangc.exe, but which doesn't
-require an entrypoint.
+the idea here is just to make something like slangc.exe, but which treats
+entrypoints like regular functions.
basics and gotchas
@@ -10,6 +10,12 @@ basics and gotchas
instead of cbuffers / structs.
- it should "just work" for simple math kernels
+usage
+
+- import unitypackage
+- right click .slang file, select 'Translate to HLSL'
+- import the generated .hlsl in your shader
+
build instructions
```bash