mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
gallivm: special case TGSI_OPCODE_STORE
This instruction has the resource (buffer or image) as a destination to represent the writemask for SSBO writes. However, this is obviously not a "real" destination for the purpose of emitting LLVM IR. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
10b2b584ee
commit
4eb416bd9d
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ lp_build_tgsi_inst_llvm(
|
|||
}
|
||||
}
|
||||
|
||||
if (info->num_dst > 0) {
|
||||
if (info->num_dst > 0 && info->opcode != TGSI_OPCODE_STORE) {
|
||||
bld_base->emit_store(bld_base, inst, info, emit_data.output);
|
||||
}
|
||||
return TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue