3 Nov
2022
3 Nov
'22
2:47 p.m.
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? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/43#note_12985