On Fri, 9 Jul 2021 at 00:18, Zebediah Figura <zfigura(a)codeweavers.com> wrote:
+ ID3D11DeviceContext1_PSGetConstantBuffers1(context, 1, 2, ret_buffers, offsets, counts); + ok(ret_buffers[0] == buffers[0], "Got buffer %p.\n", ret_buffers[0]); + ok(ret_buffers[1] == buffers[1], "Got buffer %p.\n", ret_buffers[1]); + ok(offsets[0] == 0, "Got offset %u.\n", offsets[0]); + ok(offsets[1] == 16, "Got offset %u.\n", offsets[1]); + ok(counts[0] == 16, "Got count %u.\n", counts[0]); + ok(counts[1] == 16, "Got count %u.\n", counts[1]); + ID3D11Buffer_Release(ret_buffers[0]); + ID3D11Buffer_Release(ret_buffers[1]); + This ends up failing (and then crashing) here on Windows.
And indeed, my driver reports "FALSE" for D3D11_FEATURE_DATA_D3D11_OPTIONS.ConstantBufferOffsetting. Conversely, we should probably report the feature as supported in Wine.