Commit Graph

95 Commits

Author SHA1 Message Date
d65c6359db Fixed some sem check init. 2025-01-05 22:38:08 +01:00
d08529a3eb Simplification of API. 2025-01-04 23:12:54 +01:00
7787d1307b More extension bike shedding. 2025-01-01 23:14:30 +01:00
4deb07027f Fix some tests and do some cleanup. 2025-01-01 23:06:53 +01:00
f13508262b Remove dumbass type constraint crap. 2024-12-29 23:39:57 +01:00
90fb1a035e Add Properties prefix. Fix semantic check regression. 2024-09-26 16:47:34 +02:00
e365067354 Changed type var children to static array. 2024-09-25 13:01:56 +02:00
243d83663a Simplified shader test output 2024-09-20 13:00:17 +02:00
3f93e1a92d Add double access shader test 2024-09-20 12:48:47 +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
5b237d34de Merge branch 'dev' of git.nbross.com:nielsbross/Shader-Compiler into dev 2024-09-11 07:25:21 +02:00
ff668b6c95 Fix type checker not promoting ints. Fix some issues in the codegen. 2024-09-11 07:24:50 +02:00
c84516d39f Fix type checker not promoting ints. Fix some issues in the codegen. 2024-09-11 07:24:10 +02:00
517209c886 A bunch of allocator stuff 2024-09-10 07:21:27 +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
c8cd15456d Update ncore reference 2024-09-02 12:34:40 +02:00
c225217676 NCore update 2024-08-12 07:17:41 +02:00
b2ee560145 Fix build.bat file. 2024-07-18 23:13:01 +02:00
b475357cf9 Fix ncore import 2024-07-17 16:24:33 +02:00
76994b2567 Rename nbrutil to ncore 2024-07-17 16:21:09 +02:00
0471dbe7d7 Add nbrutil to modules. Move static array to nbrutil 2024-07-16 14:31:54 +02:00
c5758bd023 Add array parsing. Missing rest of pipeline. 2024-07-13 11:46:14 +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
7a07c32cd2 Fix cbuffer pretty printing. 2024-07-01 08:02:10 +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
274cb379b4 Merge branch 'dev' of git.nbross.com:nielsbross/Shader-Compiler into dev 2024-06-28 08:56:29 +02:00
884444d25b Multiple small fixes
- Foreign functions can now have names for parameters
- Fix property renaming crash
- Properly output texture sampling calls
2024-06-28 08:56:13 +02:00
be4115b502 Added constant buffers 2024-06-27 09:32:25 +00:00
402d9d67a4 Change typenames. Bug in hlsl builtins 2024-06-26 13:49:39 +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
d2614b3ba9 Almost fix function overloading. Return var issues. 2024-06-22 17:03:38 +02:00
d5fdaca1ca Fix indexing issue breaking function declarations. 2024-06-22 09:44:15 +02:00
98f979a368 Remove some unused stuff 2024-06-21 15:43:30 +02:00
781f63cd69 Merge branch 'main' into dev
# Conflicts:
#	Semantic_Analysis.jai
2024-06-20 07:01:38 +02:00
1be5072cbe Try some things to figure out why overload resolution is broken. 2024-06-20 07:00:46 +02:00
a9a67e3fac Add lexing, parsing and some semantic checking for constant buffers. 2024-06-14 19:56:28 +02:00
262f0d632a Fix properties renaming. 2024-06-12 12:31:30 +02:00
27acd6820c Add readme 2024-06-10 11:40:48 +00:00
b1dceb298f Fix erronously using the name of the properties instead of the typename for lookup 2024-06-09 22:11:56 +02:00
b81c0af596 init commit 2024-06-09 21:34:23 +02:00