Re: [Mesa-dev] [PATCH] radv/ac: Use base in push constant loads.

2017-01-27 Thread Dave Airlie
On 28 January 2017 at 10:35, Bas Nieuwenhuizen wrote: > Apparently the source is not an address but an offset, so we actually > need to use the base. Nice find! Reviewed-by: Dave Airlie > > Signed-off-by: Bas Nieuwenhuizen > --- > src/amd/common/ac_nir_to_llvm.c | 7 +-- > 1 file changed,

[Mesa-dev] [PATCH] radv/ac: Use base in push constant loads.

2017-01-27 Thread Bas Nieuwenhuizen
Apparently the source is not an address but an offset, so we actually need to use the base. Signed-off-by: Bas Nieuwenhuizen --- src/amd/common/ac_nir_to_llvm.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_l