diff --git a/src/gallium/drivers/crocus/crocus_program.c b/src/gallium/drivers/crocus/crocus_program.c index 1fc8ad50d1b..a2c6ac81fa2 100644 --- a/src/gallium/drivers/crocus/crocus_program.c +++ b/src/gallium/drivers/crocus/crocus_program.c @@ -1851,6 +1851,7 @@ crocus_compile_fs(struct crocus_context *ice, .prog_data = fs_prog_data, .allow_spilling = true, + .max_polygons = 1, .vue_map = vue_map, }; const unsigned *program = diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index f8f22c08f7f..105f4735555 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -1966,6 +1966,7 @@ iris_compile_fs(struct iris_screen *screen, .prog_data = fs_prog_data, .allow_spilling = true, + .max_polygons = 1, .vue_map = vue_map, }; diff --git a/src/intel/blorp/blorp.c b/src/intel/blorp/blorp.c index 483aa0cf858..848cdc2af86 100644 --- a/src/intel/blorp/blorp.c +++ b/src/intel/blorp/blorp.c @@ -302,6 +302,7 @@ blorp_compile_fs(struct blorp_context *blorp, void *mem_ctx, .prog_data = wm_prog_data, .use_rep_send = use_repclear, + .max_polygons = 1, }; return brw_compile_fs(compiler, ¶ms); diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index bf6b2763fef..77c5d95b0c7 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -2014,6 +2014,7 @@ struct brw_compile_fs_params { bool allow_spilling; bool use_rep_send; + uint8_t max_polygons; }; /** diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/vulkan/anv_pipeline.c index 21717c9bc58..fc8b0ce889c 100644 --- a/src/intel/vulkan/anv_pipeline.c +++ b/src/intel/vulkan/anv_pipeline.c @@ -1520,6 +1520,7 @@ anv_pipeline_compile_fs(const struct brw_compiler *compiler, .prog_data = &fs_stage->prog_data.wm, .allow_spilling = true, + .max_polygons = 1, }; if (prev_stage && prev_stage->stage == MESA_SHADER_MESH) {