Module: Mesa Branch: master Commit: c7d640fbbfbb1a487535d5cef5f8d435205c977b URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7d640fbbfbb1a487535d5cef5f8d435205c977b
Author: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> Date: Tue Feb 6 12:52:43 2018 +0100 ac/nir: fix GS load input type. Fixes: df1d5174fc "ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load" Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> --- 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 67da79b975..22956bc86b 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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit