intel/xehp: Update 3DSTATE_PS maximum number of threads per PSD.
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13569>
This commit is contained in:
parent
c503187388
commit
ffa2ca8a77
|
@ -4547,7 +4547,9 @@ iris_store_fs_state(const struct intel_device_info *devinfo,
|
|||
ps.VectorMaskEnable = true;
|
||||
ps.BindingTableEntryCount = shader->bt.size_bytes / 4;
|
||||
ps.FloatingPointMode = prog_data->use_alt_mode;
|
||||
ps.MaximumNumberofThreadsPerPSD = 64 - (GFX_VER == 8 ? 2 : 1);
|
||||
ps.MaximumNumberofThreadsPerPSD = (GFX_VERx10 >= 125 ? 96 - 1 :
|
||||
GFX_VER == 8 ? 64 - 2 :
|
||||
64 - 1);
|
||||
|
||||
ps.PushConstantEnable = prog_data->ubo_ranges[0].length > 0;
|
||||
|
||||
|
|
|
@ -886,7 +886,9 @@ blorp_emit_ps_config(struct blorp_batch *batch,
|
|||
*
|
||||
* In Gfx8 the format is U8-2 whereas in Gfx9+ it is U9-1.
|
||||
*/
|
||||
if (GFX_VER >= 9)
|
||||
if (GFX_VERx10 >= 125)
|
||||
ps.MaximumNumberofThreadsPerPSD = 96 - 1;
|
||||
else if (GFX_VER >= 9)
|
||||
ps.MaximumNumberofThreadsPerPSD = 64 - 1;
|
||||
else
|
||||
ps.MaximumNumberofThreadsPerPSD = 64 - 2;
|
||||
|
|
|
@ -2329,7 +2329,9 @@ emit_3dstate_ps(struct anv_graphics_pipeline *pipeline,
|
|||
ps.SampleMask = 0xff;
|
||||
#endif
|
||||
|
||||
#if GFX_VER >= 9
|
||||
#if GFX_VERx10 >= 125
|
||||
ps.MaximumNumberofThreadsPerPSD = 96 - 1;
|
||||
#elif GFX_VER >= 9
|
||||
ps.MaximumNumberofThreadsPerPSD = 64 - 1;
|
||||
#elif GFX_VER >= 8
|
||||
ps.MaximumNumberofThreadsPerPSD = 64 - 2;
|
||||
|
|
Loading…
Reference in New Issue