summaryrefslogtreecommitdiff
path: root/src/amd/common/ac_nir_to_llvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/amd/common/ac_nir_to_llvm.c')
-rw-r--r--src/amd/common/ac_nir_to_llvm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 93cf2bdafa..73bd172a78 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -143,11 +143,6 @@ static LLVMValueRef get_sampler_desc(struct ac_nir_context *ctx,
const nir_tex_instr *instr,
bool image, bool write);
-static unsigned radeon_llvm_reg_index_soa(unsigned index, unsigned chan)
-{
- return (index * 4) + chan;
-}
-
static unsigned shader_io_get_unique_index(gl_varying_slot slot)
{
/* handle patch indices separate */