* 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
* 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.
* Remove outdated comments and unnecessary test setup.
* 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.
* Remove redundant functions and constructors. Reformatted code
- Kept only the default constructor and the Init() function. Removed Create() and the customized constructor.
- Removed a duplicate SharedResourceCompatibilityTier getter function from the Displayable feature.
- Moved opening curly braces to new lines.
- Separate function declaration from definition. Moved definition out of the class.
- Replaced some macros with actual code.
- Updated basic test files.
- Removed my name from the comments
- Use E_INVALIDARG instead of E_NOTIMPL for default error message
- Initialize NumQualityLevels to 0 upon failure
- Changed design pattern for SHADER_MODEL and ROOT_SIGNATURE_VERSION checks
- Removed unnecessary member structs