Commit Graph

13 Commits

Author SHA1 Message Date
bspeice 9edd9fb7b6 Allow building from source 2024-12-30 17:56:40 -05:00
Bruce Mitchener 4b4f1a93b7 slang-sys: Rebuild if SLANG_DIR env changes (#5) 2024-11-30 11:59:21 +01:00
Lauro Oyen dbe941c55e Fix readme example code 2024-11-23 23:33:47 +01:00
Lauro Oyen ba20d75cd4 Rename std lib to core module 2024-11-23 23:30:01 +01:00
Lauro Oyen 6612431e0a Implement IMetadata 2024-10-29 12:23:56 +01:00
Lauro Oyen 7deb377f78 Implement most of the reflection API 2024-10-28 20:50:45 +01:00
Lauro Oyen 0efe5f8115 Improve error handling 2024-09-18 18:26:08 +02:00
Lauro Oyen e0f5e523b7 Upgrade to Slang v2024.1.29 2024-07-14 21:11:33 +02:00
Lauro Oyen 3419fb03d9 Fix crash when enabling optimizations
Due to generating rust style enums for slang enums that can contain
more variants than explicitly defined, the generated optimized code
probably trunkated the integer values of these additional variants.
Fix by using constified enums for these cases.
2024-07-13 22:32:03 +02:00
Lauro Oyen 85c4b2eb46 Add rustfmt config and format code
Close #3
2024-05-11 15:42:42 +02:00
Lauro Oyen 01e584bdec Fix memory leak caused by wrongly placed addRef()
Close #4
2024-05-11 11:54:21 +02:00
Lauro Oyen 095c719ff8 Implement ISession and remove ICompileRequest
The ICompileRequest is part of Slang's legacy API, and will be removed
in the future. The ISession and associated interfaces are to be used
instead.
2024-04-05 11:53:27 +02:00
Lauro Oyen 5abe4533ba Initial commit 2024-03-02 10:51:46 +01:00