* This is a minor optimisation when there are large numbers of bound resources
that are available (duplicated) to all shader stages. There's no point
fetching them when there's no shader bound there.
* This is a holdover from simpler binding times, these days it makes more sense
to omit buffers than try to hold onto those bindings even when they don't
contain textures.
* This mode suppresses the default behaviour to end unbalanced things like
transform feedback and queries, and also stops the capture from using queries
that might be in use outside.
* We do the odd thing of adding another fake counter which returns 0s, to direct
the user to disable paranoid mode in order to enable more perf counters.
* When displaying mip 0 of a texture at less than 100% zoom we linear sampling,
but we don't want to linear sample across slices. Adding a half pixel offset
in z ensures we sample precisely on the slice itself.
* Calling vkCmdSetLineWidth() before binding and dispatching a compute pipeline
seems to crash on Qualcomm drivers. We rarely need to prepopulate dynamic
state without a pipeline bound, so just skip this one state in that case on QC
devices.
* We can't assume ranges in root signature elements map to shader binding
arrays, there is a many:many relationship (one range can have multiple
elements, or only part of an array, one array can have multiple ranges).
* This can happen if the application calls ResizeBuffers without releasing all
references - the texture is not recreated but we destroyed the RTV, so we need
to create the RTV again.
* dxc emits a PDB which contains a stream with the debuginfo DXBC container,
which we expected to happen for fxc too. Instead fxc just emits the bare SPDB
chunk PDB. So we need to try to guess what to expect and/or handle both.
* Because the flow layout adjusts to its available size, we instead set it to
minimum size until it's first laid out. Otherwise it can get unreasonably
sized.
* This prevents SH_ItemView_ArrowKeysNavigateIntoChildren from causing left-move
from an expanded node to jump immediately to its parent instead of collapsing
it when the scrollbar is not leftmost