mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
anv: emitting 3DSTATE_PRIMITIVE_REPLICATION is required on Gen12+
This change helps fix the following tests on future platforms: - func.multiview - dEQP-VK.fragment_shading_rate.renderpass2.monolithic.multiviewsrlayered.dynamic.attachment.noshaderrate.keep.replace.1x1.samples1.vs - anything else that uses multiview Signed-off-by: Rohan Garg <rohan.garg@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24746>
This commit is contained in:
parent
e62f2c48a0
commit
8849e1e3a6
1 changed files with 2 additions and 2 deletions
|
|
@ -1635,7 +1635,7 @@ compute_kill_pixel(struct anv_graphics_pipeline *pipeline,
|
|||
(ms && ms->alpha_to_coverage_enable);
|
||||
}
|
||||
|
||||
#if GFX_VER == 12
|
||||
#if GFX_VER >= 12
|
||||
static void
|
||||
emit_3dstate_primitive_replication(struct anv_graphics_pipeline *pipeline,
|
||||
const struct vk_render_pass_state *rp)
|
||||
|
|
@ -1827,7 +1827,7 @@ genX(graphics_pipeline_emit)(struct anv_graphics_pipeline *pipeline,
|
|||
|
||||
emit_3dstate_clip(pipeline, state->ia, state->vp, state->rs);
|
||||
|
||||
#if GFX_VER == 12
|
||||
#if GFX_VER >= 12
|
||||
emit_3dstate_primitive_replication(pipeline, state->rp);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue