If AccelerationStructuresEntries is empty, don't call SetComputeRoot32BitConstants
Fixes a crash on Intel Iris Xe graphics when using the Fallback Layer without using any bound acceleration structures due to the call SetComputeRoot32BitConstants crashing due to not checking if pSrcData was null. Spec indicates this parameter is required, so a branch is added to avoid the call.
If
AccelerationStructuresEntries
is empty, don't callSetComputeRoot32BitConstants
Fixes a crash on Intel Iris Xe graphics when using the Fallback Layer without using any bound acceleration structures due to the call
SetComputeRoot32BitConstants
crashing due to not checking ifpSrcData
was null. Spec indicates this parameter is required, so a branch is added to avoid the call.