radeonsi: don't use fp16_rtz for FP formats in the compute blit

It doesn't change the test results.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21860>
This commit is contained in:
Marek Olšák 2022-11-06 23:46:47 -05:00 committed by Marge Bot
parent bcdde99675
commit 9fad7ca659

View file

@ -1165,9 +1165,7 @@ bool si_compute_blit(struct si_context *sctx, const struct pipe_blit_info *info,
*/
if (testing) {
options.fp16_rtz = !util_format_is_pure_integer(info->dst.format) &&
(dst_desc->channel[i].size <= 10 ||
(dst_desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT &&
dst_desc->channel[i].size <= 16));
dst_desc->channel[i].size <= 10;
}
struct hash_entry *entry = _mesa_hash_table_search(sctx->cs_blit_shaders,