anv: report actual AS descriptor limits
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38436>
This commit is contained in:
@@ -1465,10 +1465,10 @@ get_properties(const struct anv_physical_device *pdevice,
|
||||
props->maxGeometryCount = (1u << 24) - 1;
|
||||
props->maxInstanceCount = (1u << 24) - 1;
|
||||
props->maxPrimitiveCount = (1u << 29) - 1;
|
||||
props->maxPerStageDescriptorAccelerationStructures = UINT16_MAX;
|
||||
props->maxPerStageDescriptorUpdateAfterBindAccelerationStructures = UINT16_MAX;
|
||||
props->maxDescriptorSetAccelerationStructures = UINT16_MAX;
|
||||
props->maxDescriptorSetUpdateAfterBindAccelerationStructures = UINT16_MAX;
|
||||
props->maxPerStageDescriptorAccelerationStructures = desc_limits.max_resources;
|
||||
props->maxPerStageDescriptorUpdateAfterBindAccelerationStructures = desc_limits.max_resources;
|
||||
props->maxDescriptorSetAccelerationStructures = desc_limits.max_resources;
|
||||
props->maxDescriptorSetUpdateAfterBindAccelerationStructures = desc_limits.max_resources;
|
||||
props->minAccelerationStructureScratchOffsetAlignment = 64;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user