Zebediah Figura (@zfigura) commented about tests/shader_runner_d3d12.c:
return blob;
}
+static bool d3d12_runner_check_requirements(struct shader_runner *r) +{
- struct d3d12_shader_runner *runner = d3d12_shader_runner(r);
- return runner->r.maximum_shader_model >= runner->r.minimum_shader_model;
I see what this check is trying to accomplish, but I'm not much of a fan of the way it's written, and I especially don't like that it's not in common code.