Vladimír Vondruš
44db05a13c
Don't call Utility::Directory::rm() unconditionally in tests.
...
It now prints an error message in case of failure, so if the file is not
there, it generates noise in the output.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
2d52a713fb
Work around GCC 4.8 warnings about zero as null pointer constant for {}.
4 years ago
Vladimír Vondruš
95d19de8f0
ShaderTools,Trade: test printing of Feature flag supersets.
5 years ago
Vladimír Vondruš
29ac7b5a4d
Trade,ShaderTools: add addFlags() / clearFlags() to all plugin interfaces.
...
There will be Flag::FlipY for images at some point, enabled by default
for compatibility with existing GL code, and so it makes sense to start
discouraging setFlags() as early as possible to avoid people resetting
the default by accident.
Also update the imageconverter, sceneconverter and shaderconverter utils
to use these instead of setFlags().
5 years ago
Vladimír Vondruš
97d1c17ae1
ShaderTools: move the Stage enum to a dedicated header.
...
Will be used by SPIR-V reflection APIs, which don't need the whole
converter interface and all the pluginmanager stuff dragged along.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
d15d024da1
ShaderTools: check for PreprocessOnly also in validate*().
6 years ago
Vladimír Vondruš
0a32b74356
ShaderTools: forgot to test the PreprocessOnly check in link*().
6 years ago
Vladimír Vondruš
b9ef6b4a02
ShaderTools: ability to control optimizations and debug level.
...
So the -O and -g options in magnum-sceneconverter can be implemented in
a generic way.
6 years ago
Vladimír Vondruš
ff7b08a59b
ShaderTools: ability to control the preprocessor.
...
For -E, -D and -U magnum-shaderconverter options.
6 years ago
Vladimír Vondruš
7ee589552f
ShaderTools: expand verbosity levels, add warnings as errors.
6 years ago
Vladimír Vondruš
709ed229f5
ShaderTools: ability to specify input/output shader format and version.
...
For things like converting from GLSL 4.50 to 1.00 ES.
6 years ago
Vladimír Vondruš
332030aaa2
ShaderTools: add a linking API to AbstractConverter.
...
Eh. Am I overdoing it with the tests?
6 years ago
Vladimír Vondruš
ad12575a08
ShaderTools: C++, you're stupid. Fuck you.
...
Like, it's INEVITABLE to have a 100-line std::lerp() implementation for
questionable reasons but such dead-simple thing as std::pair doing moves
instead of copies where expected that should have been done CORRECTLY
back in 2011 still isn't working reliably across implementations?!
I guess I'm doing my Containers::Pair soon as well, then.
6 years ago
Vladimír Vondruš
13dfb6472f
ShaderTools: bootstrap new library.
...
Currently there's just a plugin interface for shader converters. More
stuff (probably something like SPIR-V reflection) will come later.
6 years ago