freedreno: Increase the NUM_UNIT on compute's consts in indirect dispatch.

Avoids tripping the assert in the next commit -- the blob never uses
num_unit % 4 != 0 for indirect const uploads.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5990>
This commit is contained in:
Eric Anholt 2020-07-31 16:18:41 -07:00 committed by Marge Bot
parent f07e25bc6d
commit 3e970de360

View file

@ -611,7 +611,7 @@ ir3_emit_cs_consts(const struct ir3_shader_variant *v, struct fd_ringbuffer *rin
indirect_offset = info->indirect_offset;
}
emit_const_prsc(ring, v, offset * 4, indirect_offset, 4, indirect);
emit_const_prsc(ring, v, offset * 4, indirect_offset, 16, indirect);
pipe_resource_reference(&indirect, NULL);
} else {