Commit Graph

31 Commits

Author SHA1 Message Date
603b625e21 Rename of files, improved for handling, add cb hints
- Rename Test to Ink as main file
- Support more errors for for loops.
- Add hints to cbs
2025-09-02 11:55:27 +02:00
14f8b20d5f More small changes 2025-08-27 22:12:19 +02:00
4825623c73 Merge branch 'main' of git.nbross.com:nielsbross/Ink-Shader-Language 2025-08-27 21:55:08 +02:00
da87209690 Move compile result stuff out of specific stages. 2025-08-27 21:55:01 +02:00
e0908a67c0 Add hint parsing on constant buffers. Not yet used in output. 2025-08-25 22:08:58 +02:00
ab711b5610 Minor experiment 2025-08-25 21:56:08 +02:00
4f37ed03c0 Remove unnecessary error check in compile_file 2025-08-24 11:22:13 +02:00
5b2e2e936b Add record error to add file. Change compile_file to take varargs 2025-08-24 11:19:59 +02:00
b491a56409 Changed some naming in sem checker. 2025-08-23 22:01:25 +02:00
45f67e16a8 Clean up a little bit of API code. Fix an issue with missing operator. Port random semi complex shader. 2025-08-21 22:22:00 +02:00
01ffe9c73d Properly output compiled file instead of intermediate results in semcheck 2025-08-20 21:07:14 +02:00
382d790c5b Moved more sem result into file. Still feels weird. Whole thing should just be in the file being passed around directly. 2025-08-18 22:39:45 +02:00
6b6c7bce62 Fixed a bunch of semant back and forth but now it looks like I broke some parameter checking in functions. 2025-08-14 14:04:54 +02:00
af42b61ed6 Struct output shenanigans 2025-01-27 21:38:54 +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
ec31046d30 Added inferred types and missing length function. 2025-01-10 22:44:15 +01:00
8bd766281e Added shader output data to compiled_file API 2025-01-08 22:38:01 +01:00
d08529a3eb Simplification of API. 2025-01-04 23:12:54 +01:00
4deb07027f Fix some tests and do some cleanup. 2025-01-01 23:06:53 +01:00
e365067354 Changed type var children to static array. 2024-09-25 13:01:56 +02:00
fca325b761 Deleted some stuff 2024-09-12 07:18:27 +02:00
d3aa4fffeb Quick fix for binary expr codegen. Add uv hint 2024-09-11 13:21:03 +02:00
6eba51cc8c Fix position output hint. 2024-09-11 12:42:59 +02:00
d01fca146c Opened pandoras box 2024-09-09 22:32:36 +02:00
d9dfcc6354 Beginning of better API 2024-09-02 12:34:48 +02:00
ae54f1374e Merge branch 'dev' of git.nbross.com:nielsbross/Shader-Compiler into dev 2024-07-02 22:52:06 +02:00
22b70f88b6 Fix builtin parsing 2024-07-02 22:51:55 +02:00
92c1f593c2 Fixes for texture and sampler codegen
- Moved textures and samplers out of property cbuffer for hlsl
- Fixed register indices for resources
2024-07-01 07:58:13 +02:00
1bf829d42f Fix static array. Add constant buffers. Beginning of textures. 2024-06-26 13:42:13 +02:00
3bbbc1d556 Fix function overload resolution. Add static array not working. 2024-06-25 08:54:02 +02:00
b81c0af596 init commit 2024-06-09 21:34:23 +02:00