Граф коммитов

10 Коммитов

Автор SHA1 Сообщение Дата
Yizhou Sheng f17ea20bd7
Test Suite for the new Feature Support APIs (#3)
* Implement the second half of feature checks and update the sanity test.

* Squashed commit of the following:

commit a917854d2b
Author: Yizhou Sheng <t-yisheng@microsoft.com>
Date:   Thu Jul 8 18:01:57 2021 -0700

    Optimized procedure to check Architecture support. Removed m_hStatus assignment in macros.

* Updated initialization procedures

* Remove duplicate checks.

* Set up Google Test framework

* Updated git submodule config

* Set up MockDevice. Implement functions that won't be used.

* Remove outdated comments and unnecessary test setup.

* Modified MockDevice to store cap info locally. Implemented part of the test suite.

* Rename loop variables. Fix duplicate cap check logic.

- Fixed an issue with caps that exist in more than one feature. See the following comments for details.
- Renamed loop variables to be more descriptive.
- Use TIER_0 as default values for applicable caps.
- Minor format fix.

* Removed unnecessary comments

* Add tests for features up to Options8

* Complete Google Test suite.

* Add ProtectedResourceSessionTypes cascade test case. Minor format fixes.

* Renamed Feature Level API. Add verification to the manual example/test

* Renamed Multinode tests. Add inline comments.

* Update googletest/cmakelists.txt to use MTd flag instead of MDd
2021-08-04 01:32:10 -07:00
Jesse Natalie da7aedbc4a Update project to match DirectX Agility SDK 2021-04-20 06:39:57 -07:00
jpr89 4f294f96da Make project FetchContent friendly
Fix a spelling error.

Don't install/test by default unless you are a top level project:
https://github.com/Neargye/magic_enum/blob/master/CMakeLists.txt
2021-04-01 13:04:12 -04:00
Julian Kirsch 26f8d200a0
Added namespaced target aliases
When installing this library, all targets are exported with the prefix
    "Microsoft::"
However, when using this project via `add_subdirectory` all targets lack the
prefix.

Due to this, users were required to change the name by which they reference
targets exported by this project depending on the strategy they use to include
this project.

This problem is being solved by adding an alias i.e.:
    add_library(Microsoft::DirectX-Headers ALIAS DirectX-Headers)
2021-03-26 23:51:53 +01:00
Jesse Natalie 73ed72b2af Fix copyright banners, add more idls, bump to 1.0.2
* Fix copyright banners to indicate MIT licensing
* Add dxgicommon.idl and dxgiformat.idl
2021-02-26 14:43:36 -08:00
Jesse Natalie 67af50114b Update version to 1.0.1 2021-01-04 09:10:46 -08:00
Jesse Natalie d64caa7c84 CMake/Meson: Use C++14
Since dxguids.h uses constexpr, we should make sure the GUIDs lib
is built using an appropriate C++ version. CMake requires 14,
Meson defaults to 14.
2020-12-28 09:02:08 -08:00
Jesse Natalie 1dc7f15255 CMake: Add option to exclude tests 2020-12-21 21:02:12 -08:00
Jesse Natalie 18b4e45b30 CMake: Add namespace during installation 2020-12-21 10:21:40 -08:00
Jesse Natalie 1ec6cd7171 Initial commit 2020-12-04 15:54:22 -08:00