HLResource.h 1.1 KB

1234567891011121314151617181920212223242526272829
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // HLResource.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. // Representation of HLSL SRVs and UAVs in high-level DX IR. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. #include "dxc/DXIL/DxilResource.h"
  13. namespace hlsl {
  14. /// Use this class to represent an HLSL resource (SRV/UAV) in HLDXIR.
  15. class HLResource : public DxilResource {
  16. public:
  17. //QQQ
  18. // TODO: this does not belong here. QQQ
  19. //static Kind KeywordToKind(const std::string &keyword);
  20. HLResource();
  21. };
  22. } // namespace hlsl