Zebediah Figura : vkd3d-shader: Read the resource index from idx[1] instead of idx[0] when looking up SM5.1 bindings.

Alexandre Julliard julliard at winehq.org
Wed May 27 15:16:07 CDT 2020


Module: vkd3d
Branch: master
Commit: 6dace4a8be7bba174be2dc1acbd495697f07f5af
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=6dace4a8be7bba174be2dc1acbd495697f07f5af

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Tue May 26 15:16:41 2020 -0500

vkd3d-shader: Read the resource index from idx[1] instead of idx[0] when looking up SM5.1 bindings.

We still use the first index to uniquely identify the register in vkd3d_symbol,
only changing which field is used to declare it.

This patch does not handle descriptor arrays.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d-shader/dxbc.c                 | 18 ++++++++++++++++
 libs/vkd3d-shader/spirv.c                | 35 ++++++++++++++++----------------
 libs/vkd3d-shader/vkd3d_shader_private.h | 10 ++++-----
 3 files changed, 41 insertions(+), 22 deletions(-)

Diff:   https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=6dace4a8be7bba174be2dc1acbd495697f07f5af



More information about the wine-cvs mailing list