v3dv: expose fullDrawIndexUint32 in V3D 7.x
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
committed by
Marge Bot
parent
7999326f07
commit
2212ee82b7
@@ -222,7 +222,7 @@ get_features(const struct v3dv_physical_device *physical_device,
|
||||
*features = (struct vk_features) {
|
||||
/* Vulkan 1.0 */
|
||||
.robustBufferAccess = true, /* This feature is mandatory */
|
||||
.fullDrawIndexUint32 = false, /* Only available since V3D 4.4.9.1 */
|
||||
.fullDrawIndexUint32 = physical_device->devinfo.ver >= 71,
|
||||
.imageCubeArray = true,
|
||||
.independentBlend = true,
|
||||
.geometryShader = true,
|
||||
@@ -1420,7 +1420,8 @@ v3dv_GetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice,
|
||||
.subPixelPrecisionBits = V3D_COORD_SHIFT,
|
||||
.subTexelPrecisionBits = 8,
|
||||
.mipmapPrecisionBits = 8,
|
||||
.maxDrawIndexedIndexValue = 0x00ffffff,
|
||||
.maxDrawIndexedIndexValue = pdevice->devinfo.ver >= 71 ?
|
||||
0xffffffff : 0x00ffffff,
|
||||
.maxDrawIndirectCount = 0x7fffffff,
|
||||
.maxSamplerLodBias = 14.0f,
|
||||
.maxSamplerAnisotropy = 16.0f,
|
||||
|
||||
Reference in New Issue
Block a user