Commit graph

22 commits

Author SHA1 Message Date
1b06f9e299 IT LIVES!!!!!!!!
Ok, so it can display stuff.
2017-11-15 09:46:07 +01:00
210be3a852 Main script runs
Fixed a few more bugs, and now the main script runs without crashing. It
fails to produce any output, however.
2017-11-14 23:44:13 +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
c05ab54ca7 Finished implementation of the emulator
It's probably full of bugs so meh
2017-11-14 17:35:13 +01:00
6deb59d884 Control / compiler - Fixed program initialization
Program initialization returns an identifier, unlike the rest
of the initializers which require an allocated GL ID.
2017-11-14 15:37:42 +01:00
71f6fed1ee Control - All opcodes that do not use assets are done 2017-11-14 14:25:55 +01:00
8b7964632a Compiler - Additional asserts on FPU stack 2017-11-13 18:53:42 +01:00
83b76a96f6 Compiler - Output debugging instruction 2017-11-13 18:51:15 +01:00
e877f3f391 Compiler - Input default value instruction 2017-11-13 18:31:21 +01:00
673b73c42d Compiler - Also gather constants from OP_INPUT 2017-11-13 18:21:06 +01:00
e7029af764 Compiler - Sampler initialisation command 2017-11-13 18:16:48 +01:00
91f363ee06 Compiler - Viewport instruction 2017-11-13 17:28:57 +01:00
cdf883c3cd Compiler - OP_UNIFORMS 2017-11-13 17:20:45 +01:00
d6fb6f9831 Compiler - OP_USE_TEXTURE + various operators 2017-11-13 16:58:38 +01:00
b9d9589d80 Compiler - OP_{FRAMEBUFFER,USE_{FRAMEBUFFER,PROGRAM,PIPELINE}} 2017-11-13 14:41:03 +01:00
057033f2e3 Compiler - OP_{TEXTURE,PROFILE,CLEAR} 2017-11-13 10:02:16 +01:00
415d565d72 Compiler - More ops + code reorg + call args order 2017-11-13 09:25:32 +01:00
6c58e8669f Compiler - Conditionals 2017-11-12 22:20:11 +01:00
bf1c4aa1b0 Compiler - Metadata for operators' stack effects 2017-11-12 18:38:31 +01:00
dd4c1ba7cd Ops - Operator metadata 2017-11-12 17:46:47 +01:00
87b46284ab Compiler - Progress on bytecode generator
+ added a technical node for call arguments
2017-11-12 17:01:13 +01:00
abb2c02d61 Compiler - Started work
Committing as I need to make a few adjustments to the AST in order to
simplify things.
2017-11-12 10:50:05 +01:00