mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
ir3: Actually use wrmask in emit_sam
I noticed that isam emitted for SSBO loads was writing all 4 components, which this fixes. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15288>
This commit is contained in:
parent
5f020bcc8d
commit
625ebb977f
1 changed files with 1 additions and 1 deletions
|
|
@ -1379,7 +1379,7 @@ emit_sam(struct ir3_context *ctx, opc_t opc, struct tex_src_info info,
|
|||
if (info.flags & IR3_INSTR_A1EN) {
|
||||
addr = ir3_get_addr1(ctx, info.a1_val);
|
||||
}
|
||||
sam = ir3_SAM(ctx->block, opc, type, 0b1111, info.flags, info.samp_tex, src0,
|
||||
sam = ir3_SAM(ctx->block, opc, type, wrmask, info.flags, info.samp_tex, src0,
|
||||
src1);
|
||||
if (info.flags & IR3_INSTR_A1EN) {
|
||||
ir3_instr_set_address(sam, addr);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue