radeonsi: create si_llvm_load_input_gs()
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 7 Nov 2017 10:13:37 +0000 (21:13 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 4 Dec 2017 01:52:18 +0000 (12:52 +1100)
commit4184e7c417fef08a1a28295d60dbb2d5fee08633
tree8cd278085d4d6c920936caaff5650eaa500ffd2b
parentc4c8df94bd77b987143caa43ca6609bff1ab2908
radeonsi: create si_llvm_load_input_gs()

This creates a common function that can be shared by the tgsi
and nir backends.

v2: use LLVMBuildBitCast() directly

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader_internal.h