freedreno/a6xx: Fix clip_halfz support.
Same bit as on other gens, apparently it just got missed on this one. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5419>
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
dEQP-GLES2.functional.clipping.triangle_vertex.clip_three.clip_neg_x_neg_z_and_pos_x_pos_z_and_neg_x_neg_y_pos_z
|
||||
dEQP-GLES2.functional.clip_control.depth_mode_zero_to_one
|
||||
dEQP-GLES31.functional.stencil_texturing.render.depth24_stencil8_clear
|
||||
dEQP-GLES31.functional.stencil_texturing.render.depth24_stencil8_draw
|
||||
dEQP-VK.compute.indirect_dispatch.upload_buffer.multiple_groups
|
||||
|
||||
@@ -52,7 +52,10 @@ __fd6_setup_rasterizer_stateobj(struct fd_context *ctx,
|
||||
}
|
||||
|
||||
OUT_REG(ring,
|
||||
A6XX_GRAS_CL_CNTL(.vp_clip_code_ignore = 1),
|
||||
A6XX_GRAS_CL_CNTL(
|
||||
.vp_clip_code_ignore = 1,
|
||||
.zero_gb_scale_z = cso->clip_halfz
|
||||
),
|
||||
A6XX_GRAS_UNKNOWN_8001());
|
||||
|
||||
OUT_REG(ring,
|
||||
|
||||
Reference in New Issue
Block a user