Commit graph

29 commits

Author SHA1 Message Date
3a59078323 Parser + overrides - Partial parsing of ui-overrides sections 2017-11-17 14:09:36 +01:00
c18702c2f3 Parser - Fixed potential memory leak 2017-11-16 12:01:54 +01:00
fd0df03428 Refactoring - Compiler & parser moved to separate header 2017-11-15 18:58:37 +01:00
0c9ca6c04e Parser/compiler - Some refactoring 2017-11-15 18:44:34 +01:00
3de255aad0 Started using new control code + bugfixes
The program is loaded and its init part is run. Many bugs were fixed in
the process, including various new bugs in the shaders manager.
2017-11-14 22:04:00 +01:00
91f363ee06 Compiler - Viewport instruction 2017-11-13 17:28:57 +01:00
b9d9589d80 Compiler - OP_{FRAMEBUFFER,USE_{FRAMEBUFFER,PROGRAM,PIPELINE}} 2017-11-13 14:41:03 +01:00
87b46284ab Compiler - Progress on bytecode generator
+ added a technical node for call arguments
2017-11-12 17:01:13 +01:00
f97bb9b596 Parser - Changes to AST for the if instruction
The "else" case is now specific (to value 0), while the "then" case
is the default.
2017-11-12 11:23:29 +01:00
e8460456e6 Parser - Technical nodes in conditional instructions 2017-11-12 11:13:38 +01:00
8806cd81d2 Parser - Finished type checks
... I think. Unless I forgot something, which is likely.
2017-11-11 16:53:21 +01:00
773efeff54 Parser - Errors when using inputs in initialisation 2017-11-11 16:16:22 +01:00
5d3aa32e9d Parser - Some clean-up in previously added code 2017-11-11 16:14:04 +01:00
84cdfa38de Parser - Initial ugly impl of argument type resolution 2017-11-11 15:05:20 +01:00
5933179f43 Parser - Prevent built-ins from being declared local 2017-11-11 12:05:03 +01:00
4d54ffe9e8 Parser - Improved type checking re: locals 2017-11-11 12:00:20 +01:00
949e4099ec Parser - Type checking for inputs and global identifiers 2017-11-11 10:17:35 +01:00
36a3e5e26f Parser - Check local variable declarations 2017-11-11 09:54:38 +01:00
e21e5cefb2 Parser - Type checking 2017-11-11 09:18:45 +01:00
d944ff80f3 Parser - Clean-up in AST node definitions 2017-11-10 23:09:36 +01:00
b98c2247ae Parser - clear instruction 2017-11-10 22:09:24 +01:00
a455f2ad40 Parser - main-output instruction 2017-11-10 21:56:28 +01:00
e0929d6ec4 Parser - Local variable declarations 2017-11-10 21:01:35 +01:00
9515d64400 Parser - Support for LODs in texture and framebuffers 2017-11-10 20:38:17 +01:00
46972c7e60 Parser - Sampler definition instruction 2017-11-10 17:18:29 +01:00
eae82f1f9a Parser - (odbg) instruction 2017-11-10 12:48:57 +01:00
448acdf16b Parser - Framebuffer definition command 2017-11-10 10:15:56 +01:00
d02ab91767 Parser - Support for (uniforms)/(uniforms-i) 2017-11-09 23:20:48 +01:00
351614123e Parser - Split parser off from nodes code 2017-11-09 18:27:28 +01:00