aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-09-29 15:11:14 +0200
committerMarek Olšák <[email protected]>2017-10-06 02:56:11 +0200
commitb4600b474069d77ef889f0e79093c8e7f6b767e4 (patch)
treeb7de21d49f20542271878e6ad86e156c0cfff6fd /src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
parentd0751f6c1ffe146b0fa36d1290b40551d2cc65cd (diff)
radeonsi: use ctx->ac.context and ctx->types
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c b/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
index b98a330b8b2..cacd945b30b 100644
--- a/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
+++ b/src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c
@@ -617,7 +617,7 @@ static void store_fetch_args(
LLVMValueRef rsrc;
unsigned chan;
- emit_data->dst_type = LLVMVoidTypeInContext(gallivm->context);
+ emit_data->dst_type = ctx->voidt;
for (chan = 0; chan < 4; ++chan) {
chans[chan] = lp_build_emit_fetch(bld_base, inst, 1, chan);