viewsrg_all.srgi 875 B

123456789101112131415161718192021222324252627
  1. // {BEGIN_LICENSE}
  2. /*
  3. * Copyright (c) Contributors to the Open 3D Engine Project.
  4. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. *
  6. * SPDX-License-Identifier: Apache-2.0 OR MIT
  7. *
  8. */
  9. // {END_LICENSE}
  10. #pragma once
  11. #include <Atom/Features/SrgSemantics.azsli>
  12. #define AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  13. // we need all data-types to be fully defined before the first partial srg definition
  14. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgIncludesAll.azsli>
  15. #undef AZ_COLLECTING_PARTIAL_SRG_INCLUDES
  16. // this file is from the project, and contains the first partial ViewSrg definition.
  17. // it can also contain project-specific fields
  18. #include <viewsrg.srgi>
  19. #define AZ_COLLECTING_PARTIAL_SRGS
  20. #include <Atom/Feature/Common/Assets/ShaderResourceGroups/ViewSrgAll.azsli>
  21. #undef AZ_COLLECTING_PARTIAL_SRGS