Nov. 13, 2023
7:42 a.m.
On Mon Nov 13 13:42:07 2023 +0000, Henri Verbeet wrote:
What could this be other than a resource register? And similarly for the sampler? For d3dbc sources, either VKD3DSPR_COMBINED_SAMPLER, or VKD3DSPR_TEXTURE before SM2. We may want to consider running this after normalise_combined_samplers() in the future, but at least for the moment that doesn't handle all texture instructions and shader models. I think it would be useful to document this in the code with an `assert()`, or an `if () WARN()` if you don't like `assert()` enough.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/466#note_52127