summaryrefslogtreecommitdiffstats
path: root/src/amd/common
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-04-25 00:56:44 +0200
committerMarek Olšák <[email protected]>2017-05-05 00:23:44 +0200
commit4d32b4ac99e49a928088248f5b5cf42607bf5c3f (patch)
treea3137ec0239501fdcc919c5004da715b53fe612c /src/amd/common
parent283a1d1e27b5456cfda848a54b9d74be0993e038 (diff)
radeonsi: stop using v16i8
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/amd/common')
-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,
};