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:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user