tu: Use appropriate variants for other GRAS regs.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38796>
This commit is contained in:
Emma Anholt 2025-12-02 17:46:30 -08:00 committed by Marge Bot
parent 69cf144144
commit 298237b362
2 changed files with 2 additions and 2 deletions

View file

@ -903,7 +903,7 @@ r3d_common(struct tu_cmd_buffer *cmd, struct tu_cs *cs, enum r3d_type type,
tu6_emit_fs<CHIP>(cs, fs);
tu_cs_emit_regs(cs,
A6XX_GRAS_CL_CNTL(
GRAS_CL_CNTL(CHIP,
.clip_disable = 1,
.vp_clip_code_ignore = 1,
.vp_xform_disable = 1,

View file

@ -3316,7 +3316,7 @@ tu6_emit_rast(struct tu_cs *cs,
bool depth_clip_enable = vk_rasterization_state_depth_clip_enable(rs);
tu_cs_emit_regs(cs,
A6XX_GRAS_CL_CNTL(
GRAS_CL_CNTL(CHIP,
.znear_clip_disable = !depth_clip_enable,
.zfar_clip_disable = !depth_clip_enable,
/* To support VK_EXT_depth_clamp_zero_one on a7xx+ */