SirLynix
|
5544d336ab
|
Shader: Fix index remapping when importing a text shader in a precompiled shader
|
2022-05-12 23:08:21 +02:00 |
SirLynix
|
973b589b08
|
Shader: Fix conditional statement handling in partial compilation mode
|
2022-05-05 20:19:27 +02:00 |
SirLynix
|
e11644a81d
|
Shader/IndexRemapperVisitor: Fix unhandled cases
|
2022-04-20 01:02:42 +02:00 |
SirLynix
|
36e5356c22
|
Shader: Fix import of already compiled module
|
2022-04-19 18:32:17 +02:00 |
SirLynix
|
02ffbcc50b
|
Shader: Fix scoping on unrolled for-each
|
2022-04-19 18:32:16 +02:00 |
SirLynix
|
b52a380839
|
Shader: Fix unroll duplicate identifier error with GLSL
|
2022-04-19 18:32:16 +02:00 |
SirLynix
|
447cdfddc9
|
Shader: Error fixes
|
2022-04-06 09:06:02 +02:00 |
SirLynix
|
18edd41048
|
Shader: Fix dependency check of modules
|
2022-04-05 08:35:12 +02:00 |
SirLynix
|
66ff6cfa81
|
Minor fixes
|
2022-04-04 08:17:03 +02:00 |
Lynix
|
83de0939bb
|
Shader: Fix validation and cast from u32 to i32
|
2022-04-02 21:20:01 +02:00 |
SirLynix
|
7c640f5c00
|
Shader: Add types to error messages (and remove ID)
|
2022-04-01 18:19:50 +02:00 |
SirLynix
|
16cf75440b
|
Shader: Turn every AstError into a proper compilation error (with source info)
|
2022-04-01 18:19:50 +02:00 |
SirLynix
|
ac9e7207ac
|
Shader: Add compiler and AST errors (WIP)
I'm so afraid to lose all this work
|
2022-04-01 18:19:50 +02:00 |
SirLynix
|
960ab64d98
|
Shader: Add SourceLocation members
TODO: Fill from Parser and use them for error throwing in SanitizeVisitor
|
2022-04-01 18:19:50 +02:00 |
SirLynix
|
ebad7b5e8c
|
Shader: Add support for error messages (WIP)
|
2022-04-01 18:19:50 +02:00 |
SirLynix
|
47f8081202
|
Shader: Fix external binding set attribute value
|
2022-03-28 09:01:52 +02:00 |
SirLynix
|
8146ec251a
|
Shader: Add support for partial sanitization
|
2022-03-25 12:54:51 +01:00 |
Jérôme Leclercq
|
56c6eff7f8
|
Rebase fix
|
2022-03-15 12:44:21 +01:00 |
Jérôme Leclercq
|
6bd9f1a9e4
|
Add unity build support
|
2022-03-15 12:44:21 +01:00 |
Jérôme Leclercq
|
bf44672354
|
Shader: Add support for exported functions
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
e40e8eb204
|
Shader: Change module system (no longer based on path)
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
80f9556f8c
|
Shader/LangWriter: Make LangWriter able to output AST before sanitization as well
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
5a9a55ee7e
|
Shader/MultiStatement: Remove sectionName
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
33554cf5a0
|
Shader: Remove struct and functions that aren't required
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
d29876f448
|
Shader/SanitizeVisitor: Minor cleanup
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
db0c1e6e8c
|
Shader: Add module resolver + use modules for engine shaders
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
98bd04e35a
|
Shader/SanitizeVisitor: Fix an issue when double-sanitizing
... with differents parameters (like reducing loops to while, which introduces new variables which would take over existing var indices)
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
39a2992791
|
Shader: Minor module fixes
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
05cf98477e
|
Shader: Add proper support for alias
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
d45ba6696f
|
Shader: Rename VariableExpression to VariableValueExpression
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
1401c46d44
|
Shader: Better fix than 3ccec0ce
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
3c290c1d0e
|
Shader: Fix unit tests
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
be9bdc4705
|
Modules are workings \o/
|
2022-03-14 18:30:55 +01:00 |
Lynix
|
83d26e209e
|
WIP2
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
012712b8d0
|
WIP
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
a7acf32886
|
Shader: Replace indices-based option keys by CRC32
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
a4858d6793
|
Shader: Add comments to surround modules
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
53728200ac
|
Shader: Add module ID (UUID)
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
43ac86e85c
|
Shader/Modules: proof of concept
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
b6cd85d6fe
|
Shader: Add import statement (not doing anything for now)
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
ca83f363a3
|
Shader: Add export attribute for structs ([export])
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
a2f4f3c802
|
Shader: Many fixes
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
1919bd3302
|
Fix compilation
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
99e07e6e1e
|
Shader: Add module statement
|
2022-03-14 18:30:55 +01:00 |
Jérôme Leclercq
|
36aea2ca0c
|
Shader/SanitizeVisitor: Fix sanitization of already sanitized AST with holes in indices
this happens when you sanitize an AST that went through a remove unused pass
|
2022-02-28 13:30:53 +01:00 |
Jérôme Leclercq
|
6ee3899400
|
Shader/SanitizeVisitor: Fix variable shadowing
|
2022-02-27 18:43:38 +01:00 |
Jérôme Leclercq
|
7ece44b4f4
|
Shader: Rename Optimize to ConstantPropagation
|
2022-02-22 13:28:01 +01:00 |
Jérôme Leclercq
|
e504c4a982
|
Minor fixes
|
2022-02-18 19:37:37 +01:00 |
Jérôme Leclercq
|
3f7815175b
|
Shader: Add EliminateUnusedPassVisitor and use it when optimizing
|
2022-02-18 13:06:47 +01:00 |
Jérôme Leclercq
|
402e16bd2b
|
Shader: Handle type as expressions
|
2022-02-17 13:23:56 +01:00 |