mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-14 01:30:07 +00:00
a/vk: Track various limits
This commit is contained in:
parent
b0f51acf77
commit
e7c217cea5
src/xrt/auxiliary/vk
|
@ -163,6 +163,8 @@ fill_in_device_features(struct vk_bundle *vk)
|
|||
|
||||
vk->features.timestamp_compute_and_graphics = pdp.limits.timestampComputeAndGraphics;
|
||||
vk->features.timestamp_period = pdp.limits.timestampPeriod;
|
||||
vk->features.max_per_stage_descriptor_sampled_images = pdp.limits.maxPerStageDescriptorSampledImages;
|
||||
vk->features.max_per_stage_descriptor_storage_images = pdp.limits.maxPerStageDescriptorStorageImages;
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
@ -145,6 +145,12 @@ struct vk_bundle
|
|||
|
||||
//! Were timeline semaphore requested, available, and enabled?
|
||||
bool timeline_semaphore;
|
||||
|
||||
//! Per stage limit on sampled images (includes combined).
|
||||
uint32_t max_per_stage_descriptor_sampled_images;
|
||||
|
||||
//! Per stage limit on storage images.
|
||||
uint32_t max_per_stage_descriptor_storage_images;
|
||||
} features;
|
||||
|
||||
//! Is the GPU a tegra device.
|
||||
|
|
Loading…
Reference in a new issue