Commit graph

16 commits

Author SHA1 Message Date
68d01ca42e Shaders - Relative paths
Shaders are no longer found under /shaders in the project; they can be
anywhere. In addition, paths for both (program) instructions in the
script and include directives in shader source code are relative to the
file which contains them.
2017-12-29 11:33:15 +01:00
9cb0b773c5 Scripting - Test updated to use includes 2017-12-28 10:33:59 +01:00
6b3f9bff2a Scripting - Handle compute shader groups automatically 2017-12-25 20:39:56 +01:00
c3ccc9403a Test - Converted DoF to compute shaders
It doesn't work too well, however. Other algorithms need to be checked
out.
2017-12-25 18:41:16 +01:00
eb2e83a568 Test - Compute shaders for raymarching 2017-12-25 10:12:17 +01:00
99bd2c429b Adjustments to test compute shader 2017-12-24 13:16:07 +01:00
81ff8a8da6 Test - Use compute shader for combine stage 2017-12-24 11:40:06 +01:00
965496b231 Optimizer - Fixed input handling 2017-12-23 17:29:52 +01:00
94b01e62b4 Optimizer - Started work on function inlining
For now:
* Option that triggers inlining
* Compute list of inline-able functions
2017-12-17 15:59:29 +01:00
08e486a57c Optimizer - DCE: find conditionals with constant inputs 2017-12-15 07:40:40 +01:00
12f9402c94 Optimizer - Working constant propagation
AST's replace function needed to be recursive
2017-12-14 07:39:38 +01:00
efa1b26150 Optimizer - Constant propagation for variables
* It doesn't work for function arguments at this point, but shouldn't be
too hard to implement that.
* Can't use it to its full potential mostly because I need to get rid of
the node-specific shit in the AST.
2017-12-12 18:30:41 +01:00
b6f9d06be0 Optimizer - Control flow graph construction 2017-12-03 18:35:56 +01:00
c7e4ccf67e Builder tool - Various, pre-constant propagation
+ Prepared flags for constant propagation
+ UI instructions removal in compiler
+ Various changes to test "demo"
2017-12-03 14:59:39 +01:00
764048e423 Added silly curves to test "demo" 2017-12-03 10:29:23 +01:00
64629560cc Moved test "demo" to separate directory 2017-12-03 10:23:37 +01:00