mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
iris: Implement the Gen < 9 tessellation quads workaround
Fixes several CTS tests: - KHR-GL46.tessellation_shader.vertex.vertex_spacing - KHR-GL46.tessellation_shader.tessellation_shader_point_mode.points_verification Fixes:823609b1a3("iris/WIP: add broadwell support") (cherry picked from commitac7af7c500)
This commit is contained in:
parent
59e56bf05d
commit
91960ae890
1 changed files with 3 additions and 0 deletions
|
|
@ -1227,6 +1227,9 @@ iris_update_compiled_tcs(struct iris_context *ice)
|
|||
.tes_primitive_mode = tes_info->tess.primitive_mode,
|
||||
.input_vertices =
|
||||
!tcs || compiler->use_tcs_8_patch ? ice->state.vertices_per_patch : 0,
|
||||
.quads_workaround = devinfo->gen < 9 &&
|
||||
tes_info->tess.primitive_mode == GL_QUADS &&
|
||||
tes_info->tess.spacing == TESS_SPACING_EQUAL,
|
||||
};
|
||||
get_unified_tess_slots(ice, &key.outputs_written,
|
||||
&key.patch_outputs_written);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue