From c7d640fbbfbb1a487535d5cef5f8d435205c977b Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Tue, 6 Feb 2018 12:52:43 +0100 Subject: [PATCH] ac/nir: fix GS load input type. Fixes: df1d5174fc "ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load" Reviewed-by: Samuel Pitoiset --- src/amd/common/ac_nir_to_llvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c index 67da79b975d..22956bc86bf 100644 --- a/src/amd/common/ac_nir_to_llvm.c +++ b/src/amd/common/ac_nir_to_llvm.c @@ -3075,7 +3075,7 @@ load_gs_input(struct ac_shader_abi *abi, } } result = ac_build_varying_gather_values(&ctx->ac, value, num_components, component); - + result = ac_to_integer(&ctx->ac, result); return result; } -- 2.30.2