mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 22:00:13 +01:00
pvr: Remove shareds_dest_offset from load_op
The starting offset is always `0` and there isn't really a reason for why it should be non-zero, we always want to DMA into the shareds from the beginning, for the load_ops, so removing it. Signed-off-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Acked-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36412>
This commit is contained in:
parent
c23f81cd11
commit
72923ee62f
3 changed files with 0 additions and 3 deletions
|
|
@ -824,7 +824,6 @@ static VkResult pvr_load_op_pds_data_create_and_upload(
|
||||||
PDSINST_DOUT_FIELDS_DOUTD_SRC1,
|
PDSINST_DOUT_FIELDS_DOUTD_SRC1,
|
||||||
value) {
|
value) {
|
||||||
value.dest = ROGUE_PDSINST_DOUTD_DEST_COMMON_STORE;
|
value.dest = ROGUE_PDSINST_DOUTD_DEST_COMMON_STORE;
|
||||||
value.a0 = load_op->shareds_dest_offset;
|
|
||||||
value.bsize = load_op->shareds_count;
|
value.bsize = load_op->shareds_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1116,7 +1116,6 @@ struct pvr_load_op {
|
||||||
|
|
||||||
struct pvr_suballoc_bo *usc_frag_prog_bo;
|
struct pvr_suballoc_bo *usc_frag_prog_bo;
|
||||||
uint32_t const_shareds_count;
|
uint32_t const_shareds_count;
|
||||||
uint32_t shareds_dest_offset;
|
|
||||||
uint32_t shareds_count;
|
uint32_t shareds_count;
|
||||||
|
|
||||||
struct pvr_pds_upload pds_frag_prog;
|
struct pvr_pds_upload pds_frag_prog;
|
||||||
|
|
|
||||||
|
|
@ -1163,7 +1163,6 @@ pco_shader *pvr_uscgen_loadop(pco_ctx *ctx, struct pvr_load_op *load_op)
|
||||||
|
|
||||||
load_op->const_shareds_count = shared_regs;
|
load_op->const_shareds_count = shared_regs;
|
||||||
load_op->shareds_count = shared_regs;
|
load_op->shareds_count = shared_regs;
|
||||||
load_op->shareds_dest_offset = 0;
|
|
||||||
|
|
||||||
return build_shader(ctx, b.shader, &data);
|
return build_shader(ctx, b.shader, &data);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue