mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
gallivm: allow arch rounding with avx512
Fixes piglit vs-roundeven-{float,vec[234]} with simd16 VS.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
0ba4320d94
commit
0023b5ae67
1 changed files with 2 additions and 1 deletions
|
|
@ -1953,7 +1953,8 @@ arch_rounding_available(const struct lp_type type)
|
|||
{
|
||||
if ((util_cpu_caps.has_sse4_1 &&
|
||||
(type.length == 1 || type.width*type.length == 128)) ||
|
||||
(util_cpu_caps.has_avx && type.width*type.length == 256))
|
||||
(util_cpu_caps.has_avx && type.width*type.length == 256) ||
|
||||
(util_cpu_caps.has_avx512f && type.width*type.length == 512))
|
||||
return TRUE;
|
||||
else if ((util_cpu_caps.has_altivec &&
|
||||
(type.width == 32 && type.length == 4)))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue