staticconst-srg.azsl 274 B

12345678910111213
  1. ShaderResourceGroupSemantic BindingPerPass
  2. {
  3. FrequencyId = 3;
  4. };
  5. ShaderResourceGroup PassSrg : BindingPerPass
  6. {
  7. static const uint MaxCascadeCount = 4;
  8. struct DirectionalLight
  9. {
  10. float4x4 m_depthBiasMatrix[MaxCascadeCount];
  11. } m_directionalLight[1];
  12. }