Commit Graph

20 Commits

Author SHA1 Message Date
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