viewsrg.srgi 724 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <Atom/Features/SrgSemantics.azsli>
  10. #define AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  11. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgIncludesAll.azsli>
  12. #undef AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  13. partial ShaderResourceGroup ViewSrg : SRG_PerView
  14. {
  15. /* Intentionally Empty. Helps define the SrgSemantic for ViewSrg once.*/
  16. };
  17. #define AZ_COLLECTING_PARTIAL_SRGS
  18. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgAll.azsli>
  19. #undef AZ_COLLECTING_PARTIAL_SRGS