[PATCH vkd3d v3 2/8] vkd3d-shader: Read constant buffer offsets from the second index.

Henri Verbeet hverbeet at gmail.com
Wed May 27 14:03:04 CDT 2020


On Wed, 27 May 2020 at 19:36, Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
> v3: Emit 0 for idx[1], instead of copying idx[0].
>
>  libs/vkd3d-shader/dxbc.c  | 8 ++++++++
>  libs/vkd3d-shader/spirv.c | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)
>
This breaks the tests. (Because shader_sm4_read_dcl_constant_buffer()
reads the size from idx[1].)



More information about the wine-devel mailing list