Signed-off-by: Francisco Casas fcasas@codeweavers.com
May 5, 2022 9:32 AM, "Giovanni Mascellani" gmascellani@codeweavers.com wrote:
Signed-off-by: Giovanni Mascellani gmascellani@codeweavers.com
libs/vkd3d-shader/hlsl_sm4.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libs/vkd3d-shader/hlsl_sm4.c b/libs/vkd3d-shader/hlsl_sm4.c index a5fc094b..a6ac2aa3 100644 --- a/libs/vkd3d-shader/hlsl_sm4.c +++ b/libs/vkd3d-shader/hlsl_sm4.c @@ -891,7 +891,7 @@ static void sm4_register_from_deref(struct hlsl_ctx *ctx, struct sm4_register *r
if (has_idx) {
- reg->idx[0] = var->semantic.index;
- reg->idx[0] = var->semantic.index + offset / 4;
reg->idx_count = 1; }
@@ -922,7 +922,7 @@ static void sm4_register_from_deref(struct hlsl_ctx *ctx, struct sm4_register *r
if (has_idx) {
- reg->idx[0] = var->semantic.index;
- reg->idx[0] = var->semantic.index + offset / 4;
reg->idx_count = 1; }
-- 2.36.0