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

98 Коммитов

Автор SHA1 Сообщение Дата
Jesse Natalie 407add88c4 Add Android build files 2021-10-27 10:13:20 -07:00
Simon Coenen 275558e43a Make some CD3DX12FeatureSupport functions const 2021-10-22 17:18:12 -07:00
Simon Coenen 9f6f6bc07d Addition 2021-10-22 17:18:12 -07:00
Chuck Walbourn 0260c06f51 Can't make MSVC and clang happy here 2021-10-22 16:35:57 -07:00
Chuck Walbourn 5c5bb3d7f4 Two more const' 2021-10-22 16:35:57 -07:00
Chuck Walbourn 767a6d539c Const a few more things 2021-10-22 16:35:57 -07:00
Chuck Walbourn b4e56f54fa Fixed C26461 warning 2021-10-22 16:35:57 -07:00
Chuck Walbourn d6aee3cf33 Fixed C26494, C26496 warnings 2021-10-22 16:35:57 -07:00
Chuck Walbourn aacd35a82a noexcept trivial accessors in CD3DX12FeatureSupport 2021-10-22 16:35:57 -07:00
Chuck Walbourn a776ffec3c D3DX12.H updated to resolve warnings in MSVC/clang 2021-10-22 16:35:57 -07:00
Jesse Natalie 6e4d032a39
Add GENERIC_ALL to winadapter.h for resource sharing 2021-09-22 12:12:51 -07:00
Jesse Natalie 3f1ca73044
Merge pull request #28 from alexgong14/alexgong14-patch-1
CheckFeatureSupport class now includes vector when D3DX12_NO_STATE_OBJECT_HELPERS is defined
2021-08-24 15:06:36 -07:00
alexgong14 360d4d0dc1 Update d3dx12.h 2021-08-24 14:23:49 -07:00
alexgong14 0f697736ab
always include <vector>
<vector> is now included even if D3DX12_NO_STATE_OBJECT_HELPERS is defined
2021-08-23 16:15:50 -07:00
Jesse Natalie dca44ec487
Merge pull request #26 from microsoft/inline-fix
Add 'inline' to all CD3DX12FeatureSupport methods
2021-08-11 07:06:33 -07:00
Jesse Natalie 3b6e87f6a3 Add 'inline' to all CD3DX12FeatureSupport methods 2021-08-11 06:47:12 -07:00
Jesse Natalie c874c252d5
Merge pull request #25 from simco50/move_stateobject_ifdef
Move the NO_STATE_OBJECT_HELPERS guard
2021-08-11 04:50:03 -07:00
Simon Coenen d926356ddc Move the NO_STATE_OBJECT_HELPERS guard
Move the NO_STATE_OBJECT_HELPERS guard so that CD3DX12FeatureSupport can be used without state object helpers
2021-08-11 09:38:28 +01:00
Shawn Hargreaves bd6fe7f711
Merge pull request #18 from Sanithovski/feature-support/develop
New API Class for Checking Feature Support: CD3DX12FeatureSupport
2021-08-10 11:06:45 -07:00
Jesse Natalie 1e20e8e975
Merge pull request #24 from PatriceVignola/fix-object-initialization
Fix memory leak in ComPtr initialization
2021-08-09 19:41:05 -07:00
Patrice Vignola e0bda752a9 Fix object initialization in Make() 2021-08-09 16:14:25 -07:00
Jesse Natalie f6d625ada2
Merge pull request #23 from PatriceVignola/fix-error-codes
Make the error codes the same as on Windows
2021-08-07 06:04:56 -07:00
Jesse Natalie 63c99ae017
Merge pull request #22 from PatriceVignola/add-refguid-operators
Add operator== and operator!= for REFGUID
2021-08-07 06:04:51 -07:00
Jesse Natalie 3b89fbd8a6
Merge pull request #21 from PatriceVignola/add-more-dxgi-error-codes
Add more DXGI error codes
2021-08-07 06:04:45 -07:00
Patrice Vignola 5ea33a4508 Make the error codes the same as on Windows 2021-08-07 02:55:50 -07:00
Patrice Vignola 07584c5181 Add operator== and operator!= for REFGUID 2021-08-07 01:54:22 -07:00
Patrice Vignola 408becabb5 Add more DXGI error codes 2021-08-07 01:49:12 -07:00
Jesse Natalie bb7444d5c5
Merge pull request #20 from PatriceVignola/fix-wrladapter-compilation
Fix compilation of the wrladapter header
2021-08-06 16:25:10 -07:00
Patrice Vignola 400ae5092a Fix compilation of the wrladapter header 2021-08-06 16:17:29 -07:00
Yizhou Sheng 72f42d3d47 Delete .gitmodules 2021-08-06 07:48:39 -07:00
Yizhou Sheng 3168b54e0e Replaced GoogleTest submodule with FetchContent statement in CMake 2021-08-06 07:38:33 -07:00
Jesse Natalie 46af45f52d
Merge pull request #19 from microsoft/stwhi-main/typos
fixing a couple typos
2021-08-05 21:48:35 -07:00
Jesse Natalie c3504d6c0e
Merge pull request #15 from Sixshaman/main
Added missing shader types to d3d12shader.h
2021-08-05 21:48:24 -07:00
Steve White 5d643c95e8 fixing a couple typos 2021-08-05 14:11:10 -07:00
Yizhou Sheng 63d67e700a Delete .gitignore 2021-08-05 01:17:45 -07:00
Yizhou Sheng fa1d5a9ee6 Merge branch 'feature-support/develop' of https://github.com/Sanithovski/DirectX-Headers into feature-support/develop 2021-08-05 01:16:01 -07:00
Yizhou Sheng af4986b231 Removed unnecessary comments. Minor fix for FormatInfo default behavior 2021-08-05 01:15:41 -07:00
Yizhou Sheng 8742aa3f9c Removed unnecessary comments. Minor fix for FormatInfo default behavior 2021-08-05 01:12:26 -07:00
Yizhou Sheng 63ca9494e2 Merge branch 'main' into feature-support/develop 2021-08-04 08:57:13 -07:00
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 53d22f0256
Merge pull request #17 from tiagoshibata/user/ticastro/mismatched_new_delete2
Fix mismatched new[]/delete and more UB in ComPtr
2021-07-27 14:03:12 -07:00
Tiago Koji Castro Shibata 79614bc3e9 Use array new/delete for ABI compatibility 2021-07-26 16:24:32 -07:00
Yizhou Sheng 9aed6f37f9
Feature Support API (Part 2) (#2)
* 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.
2021-07-26 16:14:55 -07:00
Tiago Koji Castro Shibata 8c818ff2cc Simplify code 2021-07-26 15:05:04 -07:00
Tiago Koji Castro Shibata ee7d6dec57 Fix mismatched new[]/delete 2021-07-26 14:28:30 -07:00
Yizhou Sheng bb033f669f
Merge pull request #1 from Sanithovski/feature-support/base
Added the CD3DX12FeatureSupport class and implemented first half of the feature checks.
2021-07-14 14:57:09 -07:00
Yizhou Sheng 9a8892679e Removed binaries committed by mistake 2021-07-12 16:37:18 -07:00
Yizhou Sheng 8609160bda Added preprocessor options to turn on/off <variant>. Fix logic errors in SHADER_MODEL and ROOT_SIGNATURE 2021-07-12 14:09:33 -07:00
Sixshaman 8f50de7c7c Added missing shader types to d3d12shader.h 2021-07-10 14:24:18 +03:00
Yizhou Sheng 2c21716efb Updated based on the third round of reviews
- 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
2021-07-09 23:45:27 -07:00