Giovanni Mascellani (@giomasce) commented about tests/shader_runner.c:
return stride;
}
+static void compile_shader(struct shader_runner *runner, const char *source, size_t len, const char *type, bool invalid) +{
- ID3D10Blob *blob = NULL, *errors = NULL;
- char profile[7];
- HRESULT hr;
- static const char *const shader_models[] =
- {
[SHADER_MODEL_2_0] = "4_0",
Shouldn't we try to compile also with `2_0` if the minimum shader model allows it?