intel/blorp: disable REP16 for gfx12+ with R10G10B10_FLOAT_A2

Cc: mesa-stable
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21137>
(cherry picked from commit 88cadf1454)
This commit is contained in:
Tapani Pälli 2023-02-06 14:50:16 +02:00 committed by Dylan Baker
parent b7c93849e5
commit b509d4b4c2
2 changed files with 12 additions and 1 deletions

View file

@ -2524,7 +2524,7 @@
"description": "intel/blorp: disable REP16 for gfx12+ with R10G10B10_FLOAT_A2",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null
},

View file

@ -607,6 +607,17 @@ blorp_clear(struct blorp_batch *batch,
if (batch->blorp->isl_dev->info->ver < 6)
use_simd16_replicated_data = false;
/* From the BSpec: 47719 Replicate Data:
*
* "Replicate Data Render Target Write message should not be used
* on all projects TGL+."
*
* See 14017879046, 14017880152 for additional information.
*/
if (batch->blorp->isl_dev->info->ver >= 12 &&
format == ISL_FORMAT_R10G10B10_FLOAT_A2_UNORM)
use_simd16_replicated_data = false;
if (compute)
use_simd16_replicated_data = false;