enumeratePhysicalDeviceShaderInstrumentationMetricsARM :: MonadIO io=> PhysicalDevicephysicalDeviceis the physical device.-> io (Result,"descriptions"
::: Vector ShaderInstrumentationMetricDescriptionARM)
vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM - Returns properties describing what shader instrumentation metrics are supported
Description
If pDescriptions is NULL, then the number of shader instrumentation
metrics available is returned in pDescriptionCount. Otherwise,
pDescriptionCount must point to a variable set by the application to
the number of elements in the pDescriptions array, and on return the
variable is overwritten with the number of structures actually written
to pDescriptions. If pDescriptionCount is less than the number
shader instrumentation metrics available, at most pDescriptionCount
structures will be written, and INCOMPLETE
will be returned instead of SUCCESS, to
indicate that not all the available shader instrumentation metrics were
returned.
Valid Usage (Implicit)
physicalDevicemust be a valid PhysicalDevice handle
pDescriptionCountmust be a valid pointer to auint32_tvalueIf the value referenced by
pDescriptionCountis not0, andpDescriptionsis notNULL,pDescriptionsmust be a valid pointer to an array ofpDescriptionCountShaderInstrumentationMetricDescriptionARM structures
Return Codes
See Also
VK_ARM_shader_instrumentation, PhysicalDevice, ShaderInstrumentationMetricDescriptionARM