DxilEntryProps.h 1.2 KB

123456789101112131415161718192021222324252627
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // DxilEntryProps.h //
  4. // Copyright (C) Microsoft Corporation. All rights reserved. //
  5. // This file is distributed under the University of Illinois Open Source //
  6. // License. See LICENSE.TXT for details. //
  7. // //
  8. // Put entry signature and function props together. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include "dxc/DXIL/DxilSignature.h"
  13. #include "dxc/DXIL/DxilFunctionProps.h"
  14. namespace hlsl {
  15. class DxilEntryProps {
  16. public:
  17. DxilEntrySignature sig;
  18. DxilFunctionProps props;
  19. DxilEntryProps(DxilFunctionProps &p, bool bUseMinPrecision)
  20. : sig(p.shaderKind, bUseMinPrecision), props(p) {}
  21. DxilEntryProps(DxilEntryProps &p)
  22. : sig(p.sig), props(p.props) {}
  23. };
  24. }