ordering-cycle-antiregress5th.azsl 369 B

123456789101112131415161718192021
  1. ShaderResourceGroupSemantic SRG_PerView
  2. {
  3. FrequencyId = 4;
  4. };
  5. ShaderResourceGroup ViewSrg: SRG_PerView
  6. {
  7. float4 m_nearZ_farZ_farZTimesNearZ_farZMinusNearZ;
  8. float GetNearZ()
  9. {
  10. return ViewSrg::m_nearZ_farZ_farZTimesNearZ_farZMinusNearZ.x;
  11. }
  12. struct Decal
  13. {
  14. float3 m_position;
  15. };
  16. StructuredBuffer<Decal> m_decals;
  17. };