ac: define all address spaces properly
This commit is contained in:
@@ -1136,7 +1136,7 @@ static void create_function(struct radv_shader_context *ctx,
|
||||
&user_sgpr_idx);
|
||||
if (ctx->options->supports_spill) {
|
||||
ctx->ring_offsets = ac_build_intrinsic(&ctx->ac, "llvm.amdgcn.implicit.buffer.ptr",
|
||||
LLVMPointerType(ctx->ac.i8, AC_CONST_ADDR_SPACE),
|
||||
LLVMPointerType(ctx->ac.i8, AC_ADDR_SPACE_CONST),
|
||||
NULL, 0, AC_FUNC_ATTR_READNONE);
|
||||
ctx->ring_offsets = LLVMBuildBitCast(ctx->ac.builder, ctx->ring_offsets,
|
||||
ac_array_in_const_addr_space(ctx->ac.v4i32), "");
|
||||
|
Reference in New Issue
Block a user