Austin Eng
fc2bac7e45
add null D3D12 backend
2017-06-07 16:23:10 -04:00
Corentin Wallez
698c2d1d8d
Don't rely on Jinja2's lstrip_blocks
...
Travis has Jinja 2.6 but the option appeared in Jinj 2.7. Manually
perform the stripping in the preprocessing step instead.
2017-05-30 15:55:34 -07:00
Corentin Wallez
97bc020cf4
Make the NULL backend proctables be generated in a .cpp
...
Previously they were in a .mm and GCC didn't know what to do with it.
2017-05-30 15:55:34 -07:00
Corentin Wallez
944b60fb75
Fix compilation on Windows
...
There are still a bunch of warning that we should remove.
2017-05-30 10:48:32 -07:00
Corentin Wallez
635d7d599f
Generate an nxtcpp_traits.h with metaprogramming helpers
...
The files currently has Builder and BuiltObject template type aliases to
go from builder type to built object type or vice-versa.
2017-05-30 10:40:43 -07:00
Corentin Wallez
79a62bf6e3
Create a Null backend.
...
This will be useful to run validation unittests without using the GPU.
2017-05-24 15:23:53 -04:00
Corentin Wallez
cd0ea35889
Implement builder callback forwarding in the wire
2017-05-11 11:31:54 +02:00
Corentin Wallez
7f96177289
Implement the builder error callback in the backends
...
This makes the Builder base class retain the error status, if any, and
call the callback on GetResult (or ~Builder, whichever comes first).
2017-05-11 11:31:54 +02:00
Corentin Wallez
4b410a33ca
Implement the device error callback.
...
This adds support for "natively defined" API types like callbacks that
will have to be implemented manually for each target language. Also this
splits the concept of "native method" into a set of native methods per
language.
Removes the "Synchronous error" concept that was used to make builders
work in the maybe Monad, this will have to be reinroduced with builder
callbacks.
2017-05-11 11:31:54 +02:00
Kai Ninomiya
faa5894500
Add shebang to generator/main.py to use python2
...
Fixes #3
2017-04-27 10:46:53 -04:00
Corentin Wallez
f07e3bd4c9
Initial commit of all the NXT integration.
...
More like squashed history, contributors were:
- Kai Ninomiya
- Corentin Wallez
2017-04-20 14:38:20 -04:00