mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
freedreno/computerator: Set SP_MODE_CONTROL to the same value as vulkan/GL
This gets us consistent hcN access with our drivers, for experimenting. We don't know what the other bit does yet, but let's not have to debug that later. Reviewed-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6179>
This commit is contained in:
parent
c92ae9d3ef
commit
1938e2596f
1 changed files with 3 additions and 0 deletions
|
|
@ -117,6 +117,9 @@ cs_program_emit(struct fd_ringbuffer *ring, struct kernel *kernel)
|
|||
const struct ir3_info *i = &v->info;
|
||||
enum a3xx_threadsize thrsz = FOUR_QUADS;
|
||||
|
||||
OUT_PKT4(ring, REG_A6XX_SP_MODE_CONTROL, 1);
|
||||
OUT_RING(ring, A6XX_SP_MODE_CONTROL_CONSTANT_DEMOTION_ENABLE | 4);
|
||||
|
||||
OUT_PKT4(ring, REG_A6XX_HLSQ_INVALIDATE_CMD, 1);
|
||||
OUT_RING(ring, A6XX_HLSQ_INVALIDATE_CMD_VS_STATE |
|
||||
A6XX_HLSQ_INVALIDATE_CMD_HS_STATE |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue