summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2017-04-25 00:56:44 +0200
committerMarek Olšák <marek.olsak@amd.com>2017-05-05 00:23:44 +0200
commit4d32b4ac99e49a928088248f5b5cf42607bf5c3f (patch)
treea3137ec0239501fdcc919c5004da715b53fe612c /src/amd
parent283a1d1e27b5456cfda848a54b9d74be0993e038 (diff)
radeonsi: stop using v16i8
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/common/ac_llvm_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index c89633f923c..df1d790760f 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -759,7 +759,7 @@ LLVMValueRef ac_build_buffer_load_format(struct ac_llvm_context *ctx,
}
LLVMValueRef args[] = {
- rsrc,
+ LLVMBuildBitCast(ctx->builder, rsrc, ctx->v16i8, ""),
voffset,
vindex,
};