Skip to content
Commit f8569000 authored by Dave Airlie's avatar Dave Airlie Committed by Juan A. Suarez Romero
Browse files

radv: get correct offset into LDS for indexed vars.

This seems more correct to me, since if we have an array
of floats they'll be vec4 aligned, and if we do af[2],
we want the const index to increase by 2 slots in the non
compact case.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105464


Fixes: 94f95919 (radv/ac: add support for TCS/TES inputs/outputs.)
Reviewed-by: default avatarBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit f9de2d40)
[Juan A. Suarez: apply patch in ac_nir_to_llvm.c]
Signed-off-by: default avatarJuan A. Suarez Romero <jasuarez@igalia.com>

Conflicts:
	src/amd/vulkan/radv_nir_to_llvm.c
parent 89c617cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment