mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
panvk: Fix integer dot product properties
We already set has_[su]dot_4x8[_sat] in nir_shader_compiler_options so we're already getting the opcodes. We just need to advertise the features properly. If bifrost_compile.h is to be believed, those are all available starting at gen 9. Closes: https://gitlab.freedesktop.org/panfrost/mesa/-/issues/218 Closes: https://gitlab.freedesktop.org/panfrost/mesa/-/issues/219 Fixes:f7f9b3d170("panvk: Move to vk_properties") Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> (cherry picked from commit38950083ae) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38010>
This commit is contained in:
parent
e982234bb6
commit
1941ada4a6
2 changed files with 7 additions and 8 deletions
|
|
@ -184,7 +184,7 @@
|
|||
"description": "panvk: Fix integer dot product properties",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "f7f9b3d170f5213d4f20df8ef92827dd97899432",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -922,12 +922,11 @@ panvk_per_arch(get_physical_device_properties)(
|
|||
MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS,
|
||||
.maxInlineUniformTotalSize =
|
||||
MAX_INLINE_UNIFORM_BLOCK_DESCRIPTORS * MAX_INLINE_UNIFORM_BLOCK_SIZE,
|
||||
.integerDotProduct8BitUnsignedAccelerated = true,
|
||||
.integerDotProduct8BitSignedAccelerated = true,
|
||||
.integerDotProduct8BitUnsignedAccelerated = false,
|
||||
.integerDotProduct8BitSignedAccelerated = false,
|
||||
.integerDotProduct8BitMixedSignednessAccelerated = false,
|
||||
.integerDotProduct4x8BitPackedUnsignedAccelerated = true,
|
||||
.integerDotProduct4x8BitPackedSignedAccelerated = true,
|
||||
.integerDotProduct4x8BitPackedSignedAccelerated = false,
|
||||
.integerDotProduct4x8BitPackedUnsignedAccelerated = PAN_ARCH >= 9,
|
||||
.integerDotProduct4x8BitPackedSignedAccelerated = PAN_ARCH >= 9,
|
||||
.integerDotProduct16BitUnsignedAccelerated = false,
|
||||
.integerDotProduct16BitSignedAccelerated = false,
|
||||
.integerDotProduct16BitMixedSignednessAccelerated = false,
|
||||
|
|
@ -940,8 +939,8 @@ panvk_per_arch(get_physical_device_properties)(
|
|||
.integerDotProductAccumulatingSaturating8BitUnsignedAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating8BitSignedAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating8BitMixedSignednessAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating4x8BitPackedUnsignedAccelerated = PAN_ARCH >= 9,
|
||||
.integerDotProductAccumulatingSaturating4x8BitPackedSignedAccelerated = PAN_ARCH >= 9,
|
||||
.integerDotProductAccumulatingSaturating4x8BitPackedMixedSignednessAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating16BitUnsignedAccelerated = false,
|
||||
.integerDotProductAccumulatingSaturating16BitSignedAccelerated = false,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue