mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-30 05:18:16 +02:00
freedreno/computerator: Use CHIP variant reg builders
Avoid using the non-variant builders for regs that differ btwn generations. This will become deprecated. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30452>
This commit is contained in:
parent
16cadc04f3
commit
9f433a32cc
1 changed files with 9 additions and 5 deletions
|
|
@ -208,11 +208,15 @@ cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel)
|
|||
: (local_size[1] % 2 == 0) ? CS_YALIGN_2
|
||||
: CS_YALIGN_1;
|
||||
|
||||
OUT_REG(ring, A7XX_HLSQ_CS_CNTL_1(.linearlocalidregid = regid(63, 0),
|
||||
.threadsize = thrsz,
|
||||
.unk11 = true,
|
||||
.unk22 = true,
|
||||
.yalign = yalign, ));
|
||||
OUT_REG(ring,
|
||||
HLSQ_CS_CNTL_1(CHIP,
|
||||
.linearlocalidregid = regid(63, 0),
|
||||
.threadsize = thrsz,
|
||||
.unk11 = true,
|
||||
.unk22 = true,
|
||||
.yalign = yalign,
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
if (CHIP == A7XX || a6xx_backend->info->a6xx.has_lpac) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue