From 4d32b4ac99e49a928088248f5b5cf42607bf5c3f Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 25 Apr 2017 00:56:44 +0200 Subject: radeonsi: stop using v16i8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/amd/common/ac_llvm_build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amd/common') 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, }; -- cgit v1.2.3