On Mon Dec 5 13:15:09 2022 +0000, Giovanni Mascellani wrote:
I just noticed that the the PE shader runner fails an assertion when running this test inside Wine, using `VKD3D_TEST_PLATFORM=windows` and native `d3dcompiler`:
Assertion failed: root_signature_desc.NumParameters <= ARRAY_SIZE(root_params), file ../vkd3d/tests/shader_runner_d3d12.c, line 227
@fcasas, could you have a look?
That assertion happens when the `root_params` array, declared at the beginning of `d3d12_runner_create_root_signature()` is not big enough to hold all the resources in the shader. The solution is increasing the size of the array.