mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-13 17:30:32 +01:00
anv/gen7: Set MaximumNumberofThreads in the dummy PS packet
This commit is contained in:
parent
ad50896c87
commit
e18a2f037a
1 changed files with 5 additions and 1 deletions
|
|
@ -338,7 +338,11 @@ genX(graphics_pipeline_create)(
|
|||
.PointRasterizationRule = RASTRULE_UPPER_RIGHT);
|
||||
|
||||
|
||||
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_PS));
|
||||
/* Even if no fragments are ever dispatched, the hardware hangs if we
|
||||
* don't at least set the maximum number of threads.
|
||||
*/
|
||||
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_PS),
|
||||
.MaximumNumberofThreads = device->info.max_wm_threads - 1);
|
||||
|
||||
} else {
|
||||
const struct brw_wm_prog_data *wm_prog_data = &pipeline->wm_prog_data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue