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š
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š
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