@@ -52,6 +52,11 @@ enum FLMASK : uint32_t
52
52
#pragma warning(disable : 4063 4702)
53
53
#endif
54
54
55
+ #if !defined(NTDDI_WIN10_CU)
56
+ #define D3D_ROOT_SIGNATURE_VERSION_1_2 static_cast <D3D_ROOT_SIGNATURE_VERSION>(0x3 )
57
+ #pragma warning(disable : 4063 4702)
58
+ #endif
59
+
55
60
// -----------------------------------------------------------------------------
56
61
namespace
57
62
{
@@ -319,7 +324,7 @@ namespace
319
324
return D3D_ROOT_SIGNATURE_VERSION_1_0;
320
325
321
326
D3D12_FEATURE_DATA_ROOT_SIGNATURE rootSigOpt = {};
322
- rootSigOpt.HighestVersion = D3D_ROOT_SIGNATURE_VERSION_1_1 ;
327
+ rootSigOpt.HighestVersion = D3D_ROOT_SIGNATURE_VERSION_1_2 ;
323
328
HRESULT hr = device->CheckFeatureSupport (D3D12_FEATURE_ROOT_SIGNATURE, &rootSigOpt, sizeof (rootSigOpt));
324
329
while (hr == E_INVALIDARG && rootSigOpt.HighestVersion > D3D_ROOT_SIGNATURE_VERSION_1_0)
325
330
{
@@ -4391,6 +4396,7 @@ namespace
4391
4396
{
4392
4397
case D3D_ROOT_SIGNATURE_VERSION_1_0: rootSig = " 1.0" ; break ;
4393
4398
case D3D_ROOT_SIGNATURE_VERSION_1_1: rootSig = " 1.1" ; break ;
4399
+ case D3D_ROOT_SIGNATURE_VERSION_1_2: rootSig = " 1.2" ; break ;
4394
4400
}
4395
4401
4396
4402
char heap[16 ];
@@ -4550,6 +4556,10 @@ namespace
4550
4556
LVYESNO (" Dynamic IB strip-cut support" , d3d12opts15.DynamicIndexBufferStripCutSupported );
4551
4557
LVYESNO (" Dynamic depth bias support" , d3d12opts16.DynamicDepthBiasSupported );
4552
4558
#endif
4559
+
4560
+ #if defined(NTDDI_WIN10_CU)
4561
+ LVYESNO (" GPU upload heap support" , d3d12opts16.GPUUploadHeapSupported );
4562
+ #endif
4553
4563
}
4554
4564
else
4555
4565
{
@@ -4608,6 +4618,10 @@ namespace
4608
4618
PRINTYESNO (" Dynamic IB strip-cut support" , d3d12opts15.DynamicIndexBufferStripCutSupported );
4609
4619
PRINTYESNO (" Dynamic depth bias support" , d3d12opts16.DynamicDepthBiasSupported );
4610
4620
#endif
4621
+
4622
+ #if defined(NTDDI_WIN10_CU)
4623
+ PRINTYESNO (" GPU upload heap support" , d3d12opts16.GPUUploadHeapSupported );
4624
+ #endif
4611
4625
}
4612
4626
4613
4627
return S_OK;
@@ -4835,6 +4849,12 @@ namespace
4835
4849
writeable_msaa_txt = d3d12opts14.WriteableMSAATexturesSupported ? c_szYes : c_szNo;
4836
4850
#endif
4837
4851
4852
+ const char * nonNormalizedCoords = nullptr ;
4853
+ #if defined(NTDDI_WIN10_CU)
4854
+ auto d3d12opts17 = GetD3D12Options<D3D12_FEATURE_D3D12_OPTIONS17, D3D12_FEATURE_DATA_D3D12_OPTIONS17>(pDevice);
4855
+ nonNormalizedCoords = d3d12opts17.NonNormalizedCoordinateSamplersSupported ? c_szYes : c_szNo;
4856
+ #endif
4857
+
4838
4858
if (!pPrintInfo)
4839
4859
{
4840
4860
LVYESNO (" Double-precision Shaders" , d3d12opts.DoublePrecisionFloatShaderOps );
@@ -4914,6 +4934,11 @@ namespace
4914
4934
{
4915
4935
LVLINE (" Writeable MSAA textures" , writeable_msaa_txt);
4916
4936
}
4937
+
4938
+ if (nonNormalizedCoords)
4939
+ {
4940
+ LVLINE (" Non-normalized sampler coordinates" , nonNormalizedCoords);
4941
+ }
4917
4942
}
4918
4943
else
4919
4944
{
@@ -4994,6 +5019,11 @@ namespace
4994
5019
{
4995
5020
PRINTLINE (" Writeable MSAA textures" , writeable_msaa_txt);
4996
5021
}
5022
+
5023
+ if (nonNormalizedCoords)
5024
+ {
5025
+ PRINTLINE (" Non-normalized sampler coordinates" , nonNormalizedCoords);
5026
+ }
4997
5027
}
4998
5028
4999
5029
return S_OK;
0 commit comments