Vladimír Vondruš
31f2e18b58
AnyShaderConverter: minor redundancy cleanup in the test.
5 years ago
Vladimír Vondruš
bbb6fd69c0
AnyShaderConverter: test also unknown extension for conversion.
...
And make it return right after the first error. Also clean up some
old-style code -- the redirection should be restricted to the smallest
scope possible.
5 years ago
Vladimír Vondruš
7220274ff3
AnyShaderConverter: take explicitly set formats into account.
...
So if we convert foo.blah but explicitly tell it that it's a SPIR-V
file, it actually treats it as such, instead of complaining that `blah`
is not a known extension.
First step towards being able to operate directly on data.
5 years ago
Vladimír Vondruš
9d07f6637d
AnySceneConverter,AnyShaderConverter: whoops, these belong elsewhere.
...
Interesting how nobody complained about this being broken. Probably
because nobody is using those? Hah.
5 years ago
Vladimír Vondruš
cd48d28e6a
AnyShaderConverter: fart!
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š
9e3084ef4b
CMake: make it possible to selectively disable static plugins as well.
...
Instead of only having a possibility of building some plugins as static
while the default is dynamic.
5 years ago
Vladimír Vondruš
ff14efa446
AnyShaderConverter: adapt test to GlslangShaderConverter changes.
...
Format::Spirv is now allowed output format for validation.
6 years ago
Vladimír Vondruš
38a2a1f6c4
AnyShaderConverter: propagate optimization level as well.
...
Finally a complete API... except for linking, which no plugin exposes
yet so I can't test it.
6 years ago
Vladimír Vondruš
9b3abeef17
AnyShaderConverter: typo!
6 years ago
Vladimír Vondruš
5327fe0ae2
CMake: make it possible to build only some plugins as static.
...
It doesn't really work for tests that depend on more than one plugin
(because there i would need to handle all combinations, somehow), but it
does the job when the end user has such use case.
6 years ago
Vladimír Vondruš
b18aba5868
AnyShaderConverter: propagate debug info level.
6 years ago
Vladimír Vondruš
bd3903e637
AnyShaderConverter: propagate preprocessor definitions.
6 years ago
Vladimír Vondruš
d41e81fa9c
AnyShaderConverter: fix include order.
6 years ago
Vladimír Vondruš
f1ba6c692b
AnyShaderConverter: new plugin.
6 years ago