anv: Advertise shaderInt64 on Gen11+

On Gen11, they took away our hardware int64 support.  We have lowering
for all of it in NIR except for subgroup ops.  Now that all the subgroup
ops are implemented, we can enable the feature.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7329>
This commit is contained in:
Jason Ekstrand 2020-10-26 18:48:29 -05:00 committed by Marge Bot
parent 8c2543d037
commit cca257d596

View file

@ -947,8 +947,7 @@ void anv_GetPhysicalDeviceFeatures(
.shaderCullDistance = true,
.shaderFloat64 = pdevice->info.gen >= 8 &&
pdevice->info.has_64bit_float,
.shaderInt64 = pdevice->info.gen >= 8 &&
pdevice->info.has_64bit_int,
.shaderInt64 = pdevice->info.gen >= 8,
.shaderInt16 = pdevice->info.gen >= 8,
.shaderResourceMinLod = pdevice->info.gen >= 9,
.variableMultisampleRate = true,