summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2018-02-06 12:52:43 +0100
committerBas Nieuwenhuizen <[email protected]>2018-02-06 21:52:38 +0100
commitc7d640fbbfbb1a487535d5cef5f8d435205c977b (patch)
treef18045a9cbf5f280e88739bf6f2a8f0a104a1cd6 /src
parente8a9473d32149ed0f8b9b188652a7ef951324f72 (diff)
ac/nir: fix GS load input type.
Fixes: df1d5174fc "ac/nir: replace SI.buffer.load.dword with amdgcn.buffer.load" Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c2
1 files changed, 1 insertions, 1 deletions
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;
}