HLSLTestData.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ///////////////////////////////////////////////////////////////////////////////
  2. // //
  3. // HLSLTestData.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. // This file provides declarations and sample data for unit tests. //
  9. // //
  10. ///////////////////////////////////////////////////////////////////////////////
  11. #pragma once
  12. struct StorageClassDataItem
  13. {
  14. const char* Keyword;
  15. bool IsValid;
  16. };
  17. const StorageClassDataItem StorageClassData[] =
  18. {
  19. { "inline", true },
  20. { "extern", false },
  21. { "", true }
  22. };
  23. struct InOutParameterModifierDataItem
  24. {
  25. const char* Keyword;
  26. bool ActsAsReference;
  27. };
  28. const InOutParameterModifierDataItem InOutParameterModifierData[] =
  29. {
  30. { "", false },
  31. { "in", false },
  32. { "inout", true },
  33. { "out", true }
  34. };