@@ -182,7 +182,11 @@ struct SPhysicalDeviceLimits
182
182
E_TRI_BOOLEAN shaderRoundingModeRTZFloat32 = ETB_DONT_KNOW;
183
183
E_TRI_BOOLEAN shaderRoundingModeRTZFloat64 = ETB_DONT_KNOW;
184
184
185
- // or VK_EXT_descriptor_indexing:
185
+ // expose in 2 phases
186
+ // -Update After Bindand nonUniformEXT shader qualifier:
187
+ // Descriptor Lifetime Tracking PR #345 will do this, cause I don't want to rewrite the tracking system again.
188
+ // -Actual Descriptor Indexing:
189
+ // The whole 512k descriptor limits, runtime desc arrays, etc.will come later
186
190
uint32_t maxUpdateAfterBindDescriptorsInAllPools = ~0u ;
187
191
bool shaderUniformBufferArrayNonUniformIndexingNative = false ;
188
192
bool shaderSampledImageArrayNonUniformIndexingNative = false ;
@@ -211,9 +215,6 @@ struct SPhysicalDeviceLimits
211
215
bool filterMinmaxSingleComponentFormats = false ;
212
216
bool filterMinmaxImageComponentMapping = false ;
213
217
214
- core::bitflag<asset::IImage::E_SAMPLE_COUNT_FLAGS> framebufferIntegerColorSampleCounts = asset::IImage::E_SAMPLE_COUNT_FLAGS(0u );
215
-
216
-
217
218
/* Vulkan 1.3 Core */
218
219
219
220
// or VK_EXT_subgroup_size_control:
@@ -533,6 +534,14 @@ struct SPhysicalDeviceLimits
533
534
// ! uint32_t maxVertexInputAttributeOffset;
534
535
// ! uint32_t maxVertexInputBindingStride;
535
536
537
+ /*
538
+ - Spec states minimum supported value should be at least ESCF_1_BIT
539
+ - it might be different for each integer format, best way is to query your integer format from physical device using vkGetPhysicalDeviceImageFormatProperties and get the sampleCounts
540
+ https://www.khronos.org/registry/vulkan/specs/1.3-extensions/man/html/VkImageFormatProperties.html
541
+ */
542
+ // [DO NOT EXPOSE] because it might be different for every texture format and usage
543
+ // core::bitflag<asset::IImage::E_SAMPLE_COUNT_FLAGS> framebufferIntegerColorSampleCounts = asset::IImage::E_SAMPLE_COUNT_FLAGS(0u);
544
+
536
545
/* Always enabled, reported as limits */
537
546
bool shaderOutputViewportIndex = false ; // ALIAS: VK_EXT_shader_viewport_index_layer
538
547
bool shaderOutputLayer = false ; // ALIAS: VK_EXT_shader_viewport_index_layer
0 commit comments