multilevel.azsl 492 B

12345678910111213141516171819202122232425
  1. static const int global_;
  2. struct S
  3. {
  4. struct Sub
  5. {
  6. float4 multilevel;
  7. };
  8. }; // jump 2 levels down without intermediary symbols. /S/Sub/multilevel -> /F
  9. void F()
  10. {}
  11. void G()
  12. {}
  13. ShaderResourceGroupSemantic freq
  14. { FrequencyId = 1; }
  15. ShaderResourceGroup SRG : freq
  16. {
  17. static const int MaxCount = 2;
  18. struct S2
  19. {
  20. Texture2D cascades[MaxCount]; // if the stack system is broken during dependency declaration, this wouldn't emit in the right order
  21. };
  22. }