mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
tu: Use appropriate variants for other GRAS regs.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38796>
This commit is contained in:
parent
69cf144144
commit
298237b362
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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+ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue