Commit Graph

22 Commits

Author SHA1 Message Date
63a68b70b4 More fixes to access and buffer compilation. 2025-09-26 07:01:06 +02:00
940b58331d A bunch of array fixes and some buffer stuff that doesn't quite work yet 2025-09-24 14:04:50 +02:00
50a404984d Started some fixes for array support. Not entirely there yet. 2025-09-17 21:37:53 +02:00
94daf81a85 Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language
# Conflicts:
#	AST.jai
#	Check.jai
#	module.jai
2025-09-17 12:32:47 +02:00
607a6a0bed Deprecate properties. Use hinted cbuffers instead. This opens up to use a structured buffer in that way as well if you want instead. 2025-09-17 12:31:37 +02:00
8b2141df16 Fix some if directive stuff. Fix a property output issue. Will be deprecated next commit anyway. 2025-09-17 12:30:36 +02:00
7fefe0ecf6 Ifdefs, moved semantic to check, fixed error reporting for builtins 2025-09-16 11:04:57 +02:00
4924b01eac Added some initial directive code. Don't quite like the way it's done 2025-09-03 21:05:00 +02:00
94fc3a4dad Added basic for i loops. Missing some breaking tests and more tests. Also want to add for each at some point and it_index. 2025-08-30 22:58:51 +02:00
b7e34a22b2 Fix error propagation error in parsing. Semantic checker fix for compile result struct. Test cleanup 2025-08-18 07:11:41 +02:00
8ce8651d6b Fix some missing operators not getting parsed properly. Fixed field access type checking with depth more than 1. 2025-01-22 22:30:06 +01:00
45ea54cf93 Fixed some error handling for invalid if statements. Started if codegen. 2025-01-18 22:22:16 +01:00
b4d119230b Proper pretty printing and error handling on non-cool if condition. 2025-01-15 21:32:18 +01:00
a72a9ff50d More print improvements. 2025-01-15 07:15:31 +01:00
aaeda22fa3 Added broken check for bool if cond. Also added some wonky if/else pretty printing for AST. 2025-01-13 16:33:03 +01:00
4b927b6be9 Add else parsing. Still a few bugs with output. 2025-01-13 09:14:36 +01:00
85b23f90e5 Function overload check cleanup. Added if statement to parsing. 2025-01-12 22:15:02 +01:00
4053400152 Added unary expressions to semcheck and codegen. 2025-01-08 22:37:48 +01:00
243d83663a Simplified shader test output 2024-09-20 13:00:17 +02:00
c5758bd023 Add array parsing. Missing rest of pipeline. 2024-07-13 11:46:14 +02:00
a9a67e3fac Add lexing, parsing and some semantic checking for constant buffers. 2024-06-14 19:56:28 +02:00
b81c0af596 init commit 2024-06-09 21:34:23 +02:00