This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create Root Signature 1.1. | |
{ | |
D3D12_FEATURE_DATA_ROOT_SIGNATURE featureData = {}; | |
// This is the highest version the sample supports. If CheckFeatureSupport succeeds, the HighestVersion returned will not be greater than this. | |
featureData.HighestVersion = D3D_ROOT_SIGNATURE_VERSION_1_1; | |
if (FAILED(m_device->CheckFeatureSupport(D3D12_FEATURE_ROOT_SIGNATURE, &featureData, sizeof(featureData)))) | |
{ | |
featureData.HighestVersion = D3D_ROOT_SIGNATURE_VERSION_1_0; |