We encountered a WARP crash attempting to compile a shader model 6.9+ shader that uses a static const float3 data[32] = {...}; that's accessed with dynamic indices. I suspect similar issues would arise with static float3 data[32]; that has dynamic read/write access, and potentially also with function-local arrays. I believe groupshared is still required to undergo SROA to be flattened though so that's probably not going to be a problem.
But all of these should probably be explicitly tested. Filing this here rather than https://github.com/microsoft/directxshadercompiler since I suspect this is the easier place to make it happen.
We encountered a WARP crash attempting to compile a shader model 6.9+ shader that uses a
static const float3 data[32] = {...};that's accessed with dynamic indices. I suspect similar issues would arise withstatic float3 data[32];that has dynamic read/write access, and potentially also with function-local arrays. I believegroupsharedis still required to undergo SROA to be flattened though so that's probably not going to be a problem.But all of these should probably be explicitly tested. Filing this here rather than https://github.com/microsoft/directxshadercompiler since I suspect this is the easier place to make it happen.