Commit 3973c7e3 by Jamie Madill

Add DXGI format info for depth-stencil.

This will save us some queries on D3D11 startup. BUG=angleproject:1014 Change-Id: I5aaeec43d3b9bc73d011de17e2abac902ac3b7b9 Reviewed-on: https://chromium-review.googlesource.com/275776Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
parent 187d4452
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32A32_FLOAT": "DXGI_FORMAT_R32G32B32A32_FLOAT":
{ {
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32A32_UINT": "DXGI_FORMAT_R32G32B32A32_UINT":
{ {
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32A32_SINT": "DXGI_FORMAT_R32G32B32A32_SINT":
{ {
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32_TYPELESS": "DXGI_FORMAT_R32G32B32_TYPELESS":
{ {
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32_FLOAT": "DXGI_FORMAT_R32G32B32_FLOAT":
{ {
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
"shaderSample": "11_0check", "shaderSample": "11_0check",
"renderTarget": "check", "renderTarget": "check",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32_UINT": "DXGI_FORMAT_R32G32B32_UINT":
{ {
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "check",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32B32_SINT": "DXGI_FORMAT_R32G32B32_SINT":
{ {
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "check",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_TYPELESS": "DXGI_FORMAT_R16G16B16A16_TYPELESS":
{ {
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_FLOAT": "DXGI_FORMAT_R16G16B16A16_FLOAT":
{ {
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_UNORM": "DXGI_FORMAT_R16G16B16A16_UNORM":
{ {
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_UINT": "DXGI_FORMAT_R16G16B16A16_UINT":
{ {
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_SNORM": "DXGI_FORMAT_R16G16B16A16_SNORM":
{ {
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16B16A16_SINT": "DXGI_FORMAT_R16G16B16A16_SINT":
{ {
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32_TYPELESS": "DXGI_FORMAT_R32G32_TYPELESS":
{ {
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32_FLOAT": "DXGI_FORMAT_R32G32_FLOAT":
{ {
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32_UINT": "DXGI_FORMAT_R32G32_UINT":
{ {
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G32_SINT": "DXGI_FORMAT_R32G32_SINT":
{ {
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32G8X24_TYPELESS": "DXGI_FORMAT_R32G8X24_TYPELESS":
{ {
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_D32_FLOAT_S8X24_UINT": "DXGI_FORMAT_D32_FLOAT_S8X24_UINT":
{ {
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "always"
}, },
"DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS": "DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS":
{ {
...@@ -218,7 +218,7 @@ ...@@ -218,7 +218,7 @@
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_X32_TYPELESS_G8X24_UINT": "DXGI_FORMAT_X32_TYPELESS_G8X24_UINT":
{ {
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R10G10B10A2_TYPELESS": "DXGI_FORMAT_R10G10B10A2_TYPELESS":
{ {
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R10G10B10A2_UNORM": "DXGI_FORMAT_R10G10B10A2_UNORM":
{ {
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R10G10B10A2_UINT": "DXGI_FORMAT_R10G10B10A2_UINT":
{ {
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R11G11B10_FLOAT": "DXGI_FORMAT_R11G11B10_FLOAT":
{ {
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_TYPELESS": "DXGI_FORMAT_R8G8B8A8_TYPELESS":
{ {
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_UNORM": "DXGI_FORMAT_R8G8B8A8_UNORM":
{ {
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_UNORM_SRGB": "DXGI_FORMAT_R8G8B8A8_UNORM_SRGB":
{ {
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_UINT": "DXGI_FORMAT_R8G8B8A8_UINT":
{ {
...@@ -308,7 +308,7 @@ ...@@ -308,7 +308,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_SNORM": "DXGI_FORMAT_R8G8B8A8_SNORM":
{ {
...@@ -318,7 +318,7 @@ ...@@ -318,7 +318,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8B8A8_SINT": "DXGI_FORMAT_R8G8B8A8_SINT":
{ {
...@@ -328,7 +328,7 @@ ...@@ -328,7 +328,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_TYPELESS": "DXGI_FORMAT_R16G16_TYPELESS":
{ {
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_FLOAT": "DXGI_FORMAT_R16G16_FLOAT":
{ {
...@@ -348,7 +348,7 @@ ...@@ -348,7 +348,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_UNORM": "DXGI_FORMAT_R16G16_UNORM":
{ {
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_UINT": "DXGI_FORMAT_R16G16_UINT":
{ {
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_SNORM": "DXGI_FORMAT_R16G16_SNORM":
{ {
...@@ -378,7 +378,7 @@ ...@@ -378,7 +378,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16G16_SINT": "DXGI_FORMAT_R16G16_SINT":
{ {
...@@ -388,7 +388,7 @@ ...@@ -388,7 +388,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32_TYPELESS": "DXGI_FORMAT_R32_TYPELESS":
{ {
...@@ -398,7 +398,7 @@ ...@@ -398,7 +398,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_D32_FLOAT": "DXGI_FORMAT_D32_FLOAT":
{ {
...@@ -408,7 +408,7 @@ ...@@ -408,7 +408,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "always"
}, },
"DXGI_FORMAT_R32_FLOAT": "DXGI_FORMAT_R32_FLOAT":
{ {
...@@ -418,7 +418,7 @@ ...@@ -418,7 +418,7 @@
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32_UINT": "DXGI_FORMAT_R32_UINT":
{ {
...@@ -428,7 +428,7 @@ ...@@ -428,7 +428,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R32_SINT": "DXGI_FORMAT_R32_SINT":
{ {
...@@ -438,7 +438,7 @@ ...@@ -438,7 +438,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R24G8_TYPELESS": "DXGI_FORMAT_R24G8_TYPELESS":
{ {
...@@ -448,7 +448,7 @@ ...@@ -448,7 +448,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_D24_UNORM_S8_UINT": "DXGI_FORMAT_D24_UNORM_S8_UINT":
{ {
...@@ -458,7 +458,7 @@ ...@@ -458,7 +458,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "always"
}, },
"DXGI_FORMAT_R24_UNORM_X8_TYPELESS": "DXGI_FORMAT_R24_UNORM_X8_TYPELESS":
{ {
...@@ -468,7 +468,7 @@ ...@@ -468,7 +468,7 @@
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_X24_TYPELESS_G8_UINT": "DXGI_FORMAT_X24_TYPELESS_G8_UINT":
{ {
...@@ -478,7 +478,7 @@ ...@@ -478,7 +478,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_TYPELESS": "DXGI_FORMAT_R8G8_TYPELESS":
{ {
...@@ -488,7 +488,7 @@ ...@@ -488,7 +488,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_UNORM": "DXGI_FORMAT_R8G8_UNORM":
{ {
...@@ -498,7 +498,7 @@ ...@@ -498,7 +498,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_UINT": "DXGI_FORMAT_R8G8_UINT":
{ {
...@@ -508,7 +508,7 @@ ...@@ -508,7 +508,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_SNORM": "DXGI_FORMAT_R8G8_SNORM":
{ {
...@@ -518,7 +518,7 @@ ...@@ -518,7 +518,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_SINT": "DXGI_FORMAT_R8G8_SINT":
{ {
...@@ -528,7 +528,7 @@ ...@@ -528,7 +528,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16_TYPELESS": "DXGI_FORMAT_R16_TYPELESS":
{ {
...@@ -538,7 +538,7 @@ ...@@ -538,7 +538,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16_FLOAT": "DXGI_FORMAT_R16_FLOAT":
{ {
...@@ -548,7 +548,7 @@ ...@@ -548,7 +548,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_D16_UNORM": "DXGI_FORMAT_D16_UNORM":
{ {
...@@ -558,7 +558,7 @@ ...@@ -558,7 +558,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "always"
}, },
"DXGI_FORMAT_R16_UNORM": "DXGI_FORMAT_R16_UNORM":
{ {
...@@ -568,7 +568,7 @@ ...@@ -568,7 +568,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16_UINT": "DXGI_FORMAT_R16_UINT":
{ {
...@@ -578,7 +578,7 @@ ...@@ -578,7 +578,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16_SNORM": "DXGI_FORMAT_R16_SNORM":
{ {
...@@ -588,7 +588,7 @@ ...@@ -588,7 +588,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R16_SINT": "DXGI_FORMAT_R16_SINT":
{ {
...@@ -598,7 +598,7 @@ ...@@ -598,7 +598,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8_TYPELESS": "DXGI_FORMAT_R8_TYPELESS":
{ {
...@@ -608,7 +608,7 @@ ...@@ -608,7 +608,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8_UNORM": "DXGI_FORMAT_R8_UNORM":
{ {
...@@ -618,7 +618,7 @@ ...@@ -618,7 +618,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8_UINT": "DXGI_FORMAT_R8_UINT":
{ {
...@@ -628,7 +628,7 @@ ...@@ -628,7 +628,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8_SNORM": "DXGI_FORMAT_R8_SNORM":
{ {
...@@ -638,7 +638,7 @@ ...@@ -638,7 +638,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8_SINT": "DXGI_FORMAT_R8_SINT":
{ {
...@@ -648,7 +648,7 @@ ...@@ -648,7 +648,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_A8_UNORM": "DXGI_FORMAT_A8_UNORM":
{ {
...@@ -658,7 +658,7 @@ ...@@ -658,7 +658,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "always", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R1_UNORM": "DXGI_FORMAT_R1_UNORM":
{ {
...@@ -668,7 +668,7 @@ ...@@ -668,7 +668,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R9G9B9E5_SHAREDEXP": "DXGI_FORMAT_R9G9B9E5_SHAREDEXP":
{ {
...@@ -678,7 +678,7 @@ ...@@ -678,7 +678,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R8G8_B8G8_UNORM": "DXGI_FORMAT_R8G8_B8G8_UNORM":
{ {
...@@ -688,7 +688,7 @@ ...@@ -688,7 +688,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_G8R8_G8B8_UNORM": "DXGI_FORMAT_G8R8_G8B8_UNORM":
{ {
...@@ -698,7 +698,7 @@ ...@@ -698,7 +698,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC1_TYPELESS": "DXGI_FORMAT_BC1_TYPELESS":
{ {
...@@ -708,7 +708,7 @@ ...@@ -708,7 +708,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC1_UNORM": "DXGI_FORMAT_BC1_UNORM":
{ {
...@@ -718,7 +718,7 @@ ...@@ -718,7 +718,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC1_UNORM_SRGB": "DXGI_FORMAT_BC1_UNORM_SRGB":
{ {
...@@ -728,7 +728,7 @@ ...@@ -728,7 +728,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC2_TYPELESS": "DXGI_FORMAT_BC2_TYPELESS":
{ {
...@@ -738,7 +738,7 @@ ...@@ -738,7 +738,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC2_UNORM": "DXGI_FORMAT_BC2_UNORM":
{ {
...@@ -748,7 +748,7 @@ ...@@ -748,7 +748,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC2_UNORM_SRGB": "DXGI_FORMAT_BC2_UNORM_SRGB":
{ {
...@@ -758,7 +758,7 @@ ...@@ -758,7 +758,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC3_TYPELESS": "DXGI_FORMAT_BC3_TYPELESS":
{ {
...@@ -768,7 +768,7 @@ ...@@ -768,7 +768,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC3_UNORM": "DXGI_FORMAT_BC3_UNORM":
{ {
...@@ -778,7 +778,7 @@ ...@@ -778,7 +778,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC3_UNORM_SRGB": "DXGI_FORMAT_BC3_UNORM_SRGB":
{ {
...@@ -788,7 +788,7 @@ ...@@ -788,7 +788,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC4_TYPELESS": "DXGI_FORMAT_BC4_TYPELESS":
{ {
...@@ -798,7 +798,7 @@ ...@@ -798,7 +798,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC4_UNORM": "DXGI_FORMAT_BC4_UNORM":
{ {
...@@ -808,7 +808,7 @@ ...@@ -808,7 +808,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC4_SNORM": "DXGI_FORMAT_BC4_SNORM":
{ {
...@@ -818,7 +818,7 @@ ...@@ -818,7 +818,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC5_TYPELESS": "DXGI_FORMAT_BC5_TYPELESS":
{ {
...@@ -828,7 +828,7 @@ ...@@ -828,7 +828,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC5_UNORM": "DXGI_FORMAT_BC5_UNORM":
{ {
...@@ -838,7 +838,7 @@ ...@@ -838,7 +838,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC5_SNORM": "DXGI_FORMAT_BC5_SNORM":
{ {
...@@ -848,7 +848,7 @@ ...@@ -848,7 +848,7 @@
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B5G6R5_UNORM": "DXGI_FORMAT_B5G6R5_UNORM":
{ {
...@@ -858,7 +858,7 @@ ...@@ -858,7 +858,7 @@
"shaderSample": "dxgi1_2", "shaderSample": "dxgi1_2",
"renderTarget": "dxgi1_2", "renderTarget": "dxgi1_2",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B5G5R5A1_UNORM": "DXGI_FORMAT_B5G5R5A1_UNORM":
{ {
...@@ -868,7 +868,7 @@ ...@@ -868,7 +868,7 @@
"shaderSample": "dxgi1_2", "shaderSample": "dxgi1_2",
"renderTarget": "check", "renderTarget": "check",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8A8_UNORM": "DXGI_FORMAT_B8G8R8A8_UNORM":
{ {
...@@ -878,7 +878,7 @@ ...@@ -878,7 +878,7 @@
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "10_0check11_0always", "renderTarget": "10_0check11_0always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8X8_UNORM": "DXGI_FORMAT_B8G8R8X8_UNORM":
{ {
...@@ -888,7 +888,7 @@ ...@@ -888,7 +888,7 @@
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "11_0", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM": "DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM":
{ {
...@@ -898,7 +898,7 @@ ...@@ -898,7 +898,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8A8_TYPELESS": "DXGI_FORMAT_B8G8R8A8_TYPELESS":
{ {
...@@ -908,7 +908,7 @@ ...@@ -908,7 +908,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8A8_UNORM_SRGB": "DXGI_FORMAT_B8G8R8A8_UNORM_SRGB":
{ {
...@@ -918,7 +918,7 @@ ...@@ -918,7 +918,7 @@
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "11_0", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8X8_TYPELESS": "DXGI_FORMAT_B8G8R8X8_TYPELESS":
{ {
...@@ -928,7 +928,7 @@ ...@@ -928,7 +928,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B8G8R8X8_UNORM_SRGB": "DXGI_FORMAT_B8G8R8X8_UNORM_SRGB":
{ {
...@@ -938,7 +938,7 @@ ...@@ -938,7 +938,7 @@
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "11_0", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC6H_TYPELESS": "DXGI_FORMAT_BC6H_TYPELESS":
{ {
...@@ -948,7 +948,7 @@ ...@@ -948,7 +948,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC6H_UF16": "DXGI_FORMAT_BC6H_UF16":
{ {
...@@ -958,7 +958,7 @@ ...@@ -958,7 +958,7 @@
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC6H_SF16": "DXGI_FORMAT_BC6H_SF16":
{ {
...@@ -968,7 +968,7 @@ ...@@ -968,7 +968,7 @@
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC7_TYPELESS": "DXGI_FORMAT_BC7_TYPELESS":
{ {
...@@ -978,7 +978,7 @@ ...@@ -978,7 +978,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC7_UNORM": "DXGI_FORMAT_BC7_UNORM":
{ {
...@@ -988,7 +988,7 @@ ...@@ -988,7 +988,7 @@
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_BC7_UNORM_SRGB": "DXGI_FORMAT_BC7_UNORM_SRGB":
{ {
...@@ -998,7 +998,7 @@ ...@@ -998,7 +998,7 @@
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_AYUV": "DXGI_FORMAT_AYUV":
{ {
...@@ -1008,7 +1008,7 @@ ...@@ -1008,7 +1008,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "11_1", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_Y410": "DXGI_FORMAT_Y410":
{ {
...@@ -1018,7 +1018,7 @@ ...@@ -1018,7 +1018,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_Y416": "DXGI_FORMAT_Y416":
{ {
...@@ -1028,7 +1028,7 @@ ...@@ -1028,7 +1028,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_NV12": "DXGI_FORMAT_NV12":
{ {
...@@ -1038,7 +1038,7 @@ ...@@ -1038,7 +1038,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "11_1", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_P010": "DXGI_FORMAT_P010":
{ {
...@@ -1048,7 +1048,7 @@ ...@@ -1048,7 +1048,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "11_1", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_P016": "DXGI_FORMAT_P016":
{ {
...@@ -1058,7 +1058,7 @@ ...@@ -1058,7 +1058,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "11_1", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_420_OPAQUE": "DXGI_FORMAT_420_OPAQUE":
{ {
...@@ -1068,7 +1068,7 @@ ...@@ -1068,7 +1068,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_YUY2": "DXGI_FORMAT_YUY2":
{ {
...@@ -1078,7 +1078,7 @@ ...@@ -1078,7 +1078,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_Y210": "DXGI_FORMAT_Y210":
{ {
...@@ -1088,7 +1088,7 @@ ...@@ -1088,7 +1088,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_Y216": "DXGI_FORMAT_Y216":
{ {
...@@ -1098,7 +1098,7 @@ ...@@ -1098,7 +1098,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_NV11": "DXGI_FORMAT_NV11":
{ {
...@@ -1108,7 +1108,7 @@ ...@@ -1108,7 +1108,7 @@
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "11_1", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_AI44": "DXGI_FORMAT_AI44":
{ {
...@@ -1118,7 +1118,7 @@ ...@@ -1118,7 +1118,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_IA44": "DXGI_FORMAT_IA44":
{ {
...@@ -1128,7 +1128,7 @@ ...@@ -1128,7 +1128,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_P8": "DXGI_FORMAT_P8":
{ {
...@@ -1138,7 +1138,7 @@ ...@@ -1138,7 +1138,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_A8P8": "DXGI_FORMAT_A8P8":
{ {
...@@ -1148,7 +1148,7 @@ ...@@ -1148,7 +1148,7 @@
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "never", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
}, },
"DXGI_FORMAT_B4G4R4A4_UNORM": "DXGI_FORMAT_B4G4R4A4_UNORM":
{ {
...@@ -1158,7 +1158,7 @@ ...@@ -1158,7 +1158,7 @@
"shaderSample": "dxgi1_2", "shaderSample": "dxgi1_2",
"renderTarget": "check", "renderTarget": "check",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "never"
} }
} }
] ]
...@@ -49,542 +49,542 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -49,542 +49,542 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
{ {
case DXGI_FORMAT_420_OPAQUE: case DXGI_FORMAT_420_OPAQUE:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8P8: case DXGI_FORMAT_A8P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8_UNORM: case DXGI_FORMAT_A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AI44: case DXGI_FORMAT_AI44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AYUV: case DXGI_FORMAT_AYUV:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G5R5A1_UNORM: case DXGI_FORMAT_B5G5R5A1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_RT | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM: case DXGI_FORMAT_B8G8R8X8_UNORM:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_BC1_TYPELESS: case DXGI_FORMAT_BC1_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM: case DXGI_FORMAT_BC1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM_SRGB: case DXGI_FORMAT_BC1_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_TYPELESS: case DXGI_FORMAT_BC2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM: case DXGI_FORMAT_BC2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM_SRGB: case DXGI_FORMAT_BC2_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_TYPELESS: case DXGI_FORMAT_BC3_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM: case DXGI_FORMAT_BC3_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM_SRGB: case DXGI_FORMAT_BC3_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_SNORM: case DXGI_FORMAT_BC4_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_TYPELESS: case DXGI_FORMAT_BC4_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_UNORM: case DXGI_FORMAT_BC4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_SNORM: case DXGI_FORMAT_BC5_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_TYPELESS: case DXGI_FORMAT_BC5_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_UNORM: case DXGI_FORMAT_BC5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_SF16: case DXGI_FORMAT_BC6H_SF16:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_TYPELESS: case DXGI_FORMAT_BC6H_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_TYPELESS: case DXGI_FORMAT_BC7_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM: case DXGI_FORMAT_BC7_UNORM:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM_SRGB: case DXGI_FORMAT_BC7_UNORM_SRGB:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D16_UNORM: case DXGI_FORMAT_D16_UNORM:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D24_UNORM_S8_UINT: case DXGI_FORMAT_D24_UNORM_S8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT: case DXGI_FORMAT_D32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT_S8X24_UINT: case DXGI_FORMAT_D32_FLOAT_S8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_G8R8_G8B8_UNORM: case DXGI_FORMAT_G8R8_G8B8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_IA44: case DXGI_FORMAT_IA44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV11: case DXGI_FORMAT_NV11:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV12: case DXGI_FORMAT_NV12:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P010: case DXGI_FORMAT_P010:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P016: case DXGI_FORMAT_P016:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P8: case DXGI_FORMAT_P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_TYPELESS: case DXGI_FORMAT_R10G10B10A2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UNORM: case DXGI_FORMAT_R10G10B10A2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM:
{ {
static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | F_MS); static const DXGISupport info(0, F_CUBE | F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R11G11B10_FLOAT: case DXGI_FORMAT_R11G11B10_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_FLOAT: case DXGI_FORMAT_R16G16B16A16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SINT: case DXGI_FORMAT_R16G16B16A16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_TYPELESS: case DXGI_FORMAT_R16G16B16A16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UINT: case DXGI_FORMAT_R16G16B16A16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UNORM: case DXGI_FORMAT_R16G16B16A16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_FLOAT: case DXGI_FORMAT_R16G16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SINT: case DXGI_FORMAT_R16G16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_TYPELESS: case DXGI_FORMAT_R16G16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UINT: case DXGI_FORMAT_R16G16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UNORM: case DXGI_FORMAT_R16G16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_FLOAT: case DXGI_FORMAT_R16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SINT: case DXGI_FORMAT_R16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_TYPELESS: case DXGI_FORMAT_R16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UINT: case DXGI_FORMAT_R16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UNORM: case DXGI_FORMAT_R16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R1_UNORM: case DXGI_FORMAT_R1_UNORM:
{ {
static const DXGISupport info(F_2D, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24G8_TYPELESS: case DXGI_FORMAT_R24G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS: case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT, F_DS | F_MS | F_SAMPLE); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT, F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_FLOAT: case DXGI_FORMAT_R32G32B32A32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, F_DS | F_MS | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS, F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_SINT: case DXGI_FORMAT_R32G32B32A32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_UINT: case DXGI_FORMAT_R32G32B32A32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_SINT: case DXGI_FORMAT_R32G32B32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, F_DS | F_MS | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS, F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_R32G32_SINT: case DXGI_FORMAT_R32G32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_UINT: case DXGI_FORMAT_R32G32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT: case DXGI_FORMAT_R32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, F_DS | F_MS | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS, F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT, F_DS | F_MS | F_SAMPLE); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT, F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_R32_SINT: case DXGI_FORMAT_R32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_UINT: case DXGI_FORMAT_R32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SINT: case DXGI_FORMAT_R8G8B8A8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SNORM: case DXGI_FORMAT_R8G8B8A8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_TYPELESS: case DXGI_FORMAT_R8G8B8A8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UINT: case DXGI_FORMAT_R8G8B8A8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM: case DXGI_FORMAT_R8G8B8A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_B8G8_UNORM: case DXGI_FORMAT_R8G8_B8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SINT: case DXGI_FORMAT_R8G8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_TYPELESS: case DXGI_FORMAT_R8G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UINT: case DXGI_FORMAT_R8G8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UNORM: case DXGI_FORMAT_R8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SINT: case DXGI_FORMAT_R8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_TYPELESS: case DXGI_FORMAT_R8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UINT: case DXGI_FORMAT_R8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UNORM: case DXGI_FORMAT_R8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R9G9B9E5_SHAREDEXP: case DXGI_FORMAT_R9G9B9E5_SHAREDEXP:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_UNKNOWN: case DXGI_FORMAT_UNKNOWN:
...@@ -594,37 +594,37 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -594,37 +594,37 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_X24_TYPELESS_G8_UINT: case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y210: case DXGI_FORMAT_Y210:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y216: case DXGI_FORMAT_Y216:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y410: case DXGI_FORMAT_Y410:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y416: case DXGI_FORMAT_Y416:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_YUY2: case DXGI_FORMAT_YUY2:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
...@@ -640,542 +640,542 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -640,542 +640,542 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
{ {
case DXGI_FORMAT_420_OPAQUE: case DXGI_FORMAT_420_OPAQUE:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8P8: case DXGI_FORMAT_A8P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8_UNORM: case DXGI_FORMAT_A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AI44: case DXGI_FORMAT_AI44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AYUV: case DXGI_FORMAT_AYUV:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G5R5A1_UNORM: case DXGI_FORMAT_B5G5R5A1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_RT | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM: case DXGI_FORMAT_B8G8R8X8_UNORM:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE); static const DXGISupport info(0, F_DS, F_2D | F_3D | F_CUBE | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_BC1_TYPELESS: case DXGI_FORMAT_BC1_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM: case DXGI_FORMAT_BC1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM_SRGB: case DXGI_FORMAT_BC1_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_TYPELESS: case DXGI_FORMAT_BC2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM: case DXGI_FORMAT_BC2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM_SRGB: case DXGI_FORMAT_BC2_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_TYPELESS: case DXGI_FORMAT_BC3_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM: case DXGI_FORMAT_BC3_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM_SRGB: case DXGI_FORMAT_BC3_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_SNORM: case DXGI_FORMAT_BC4_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_TYPELESS: case DXGI_FORMAT_BC4_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_UNORM: case DXGI_FORMAT_BC4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_SNORM: case DXGI_FORMAT_BC5_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_TYPELESS: case DXGI_FORMAT_BC5_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_UNORM: case DXGI_FORMAT_BC5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_SF16: case DXGI_FORMAT_BC6H_SF16:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_TYPELESS: case DXGI_FORMAT_BC6H_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_TYPELESS: case DXGI_FORMAT_BC7_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM: case DXGI_FORMAT_BC7_UNORM:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM_SRGB: case DXGI_FORMAT_BC7_UNORM_SRGB:
{ {
static const DXGISupport info(0, F_RT, F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D16_UNORM: case DXGI_FORMAT_D16_UNORM:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D24_UNORM_S8_UINT: case DXGI_FORMAT_D24_UNORM_S8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT: case DXGI_FORMAT_D32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT_S8X24_UINT: case DXGI_FORMAT_D32_FLOAT_S8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_G8R8_G8B8_UNORM: case DXGI_FORMAT_G8R8_G8B8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_IA44: case DXGI_FORMAT_IA44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV11: case DXGI_FORMAT_NV11:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV12: case DXGI_FORMAT_NV12:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P010: case DXGI_FORMAT_P010:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P016: case DXGI_FORMAT_P016:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P8: case DXGI_FORMAT_P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_TYPELESS: case DXGI_FORMAT_R10G10B10A2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UNORM: case DXGI_FORMAT_R10G10B10A2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM:
{ {
static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | F_MS); static const DXGISupport info(0, F_CUBE | F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R11G11B10_FLOAT: case DXGI_FORMAT_R11G11B10_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_FLOAT: case DXGI_FORMAT_R16G16B16A16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SINT: case DXGI_FORMAT_R16G16B16A16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_TYPELESS: case DXGI_FORMAT_R16G16B16A16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UINT: case DXGI_FORMAT_R16G16B16A16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UNORM: case DXGI_FORMAT_R16G16B16A16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_FLOAT: case DXGI_FORMAT_R16G16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SINT: case DXGI_FORMAT_R16G16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_TYPELESS: case DXGI_FORMAT_R16G16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UINT: case DXGI_FORMAT_R16G16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UNORM: case DXGI_FORMAT_R16G16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_FLOAT: case DXGI_FORMAT_R16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SINT: case DXGI_FORMAT_R16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_TYPELESS: case DXGI_FORMAT_R16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UINT: case DXGI_FORMAT_R16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UNORM: case DXGI_FORMAT_R16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R1_UNORM: case DXGI_FORMAT_R1_UNORM:
{ {
static const DXGISupport info(F_2D, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24G8_TYPELESS: case DXGI_FORMAT_R24G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS: case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_FLOAT: case DXGI_FORMAT_R32G32B32A32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_SINT: case DXGI_FORMAT_R32G32B32A32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_UINT: case DXGI_FORMAT_R32G32B32A32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_SINT: case DXGI_FORMAT_R32G32B32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_SINT: case DXGI_FORMAT_R32G32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_UINT: case DXGI_FORMAT_R32G32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT: case DXGI_FORMAT_R32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_SINT: case DXGI_FORMAT_R32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_UINT: case DXGI_FORMAT_R32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SINT: case DXGI_FORMAT_R8G8B8A8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SNORM: case DXGI_FORMAT_R8G8B8A8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_TYPELESS: case DXGI_FORMAT_R8G8B8A8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UINT: case DXGI_FORMAT_R8G8B8A8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM: case DXGI_FORMAT_R8G8B8A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_B8G8_UNORM: case DXGI_FORMAT_R8G8_B8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SINT: case DXGI_FORMAT_R8G8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_TYPELESS: case DXGI_FORMAT_R8G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UINT: case DXGI_FORMAT_R8G8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UNORM: case DXGI_FORMAT_R8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SINT: case DXGI_FORMAT_R8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_TYPELESS: case DXGI_FORMAT_R8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UINT: case DXGI_FORMAT_R8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UNORM: case DXGI_FORMAT_R8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R9G9B9E5_SHAREDEXP: case DXGI_FORMAT_R9G9B9E5_SHAREDEXP:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_UNKNOWN: case DXGI_FORMAT_UNKNOWN:
...@@ -1185,37 +1185,37 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -1185,37 +1185,37 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_X24_TYPELESS_G8_UINT: case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y210: case DXGI_FORMAT_Y210:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y216: case DXGI_FORMAT_Y216:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y410: case DXGI_FORMAT_Y410:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y416: case DXGI_FORMAT_Y416:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_YUY2: case DXGI_FORMAT_YUY2:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
...@@ -1231,542 +1231,542 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1231,542 +1231,542 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat)
{ {
case DXGI_FORMAT_420_OPAQUE: case DXGI_FORMAT_420_OPAQUE:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8P8: case DXGI_FORMAT_A8P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_A8_UNORM: case DXGI_FORMAT_A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AI44: case DXGI_FORMAT_AI44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_AYUV: case DXGI_FORMAT_AYUV:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G5R5A1_UNORM: case DXGI_FORMAT_B5G5R5A1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
{ {
static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(F_RT | F_SAMPLE, F_DS, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
{ {
static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(F_RT | F_SAMPLE, F_DS, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(0, F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM: case DXGI_FORMAT_B8G8R8X8_UNORM:
{ {
static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(F_RT | F_SAMPLE, F_DS, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
{ {
static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS); static const DXGISupport info(F_RT | F_SAMPLE, F_DS, F_2D | F_3D | F_CUBE | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_TYPELESS: case DXGI_FORMAT_BC1_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM: case DXGI_FORMAT_BC1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC1_UNORM_SRGB: case DXGI_FORMAT_BC1_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_TYPELESS: case DXGI_FORMAT_BC2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM: case DXGI_FORMAT_BC2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC2_UNORM_SRGB: case DXGI_FORMAT_BC2_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_TYPELESS: case DXGI_FORMAT_BC3_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM: case DXGI_FORMAT_BC3_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC3_UNORM_SRGB: case DXGI_FORMAT_BC3_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_SNORM: case DXGI_FORMAT_BC4_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_TYPELESS: case DXGI_FORMAT_BC4_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC4_UNORM: case DXGI_FORMAT_BC4_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_SNORM: case DXGI_FORMAT_BC5_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_TYPELESS: case DXGI_FORMAT_BC5_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC5_UNORM: case DXGI_FORMAT_BC5_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_SF16: case DXGI_FORMAT_BC6H_SF16:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_TYPELESS: case DXGI_FORMAT_BC6H_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_TYPELESS: case DXGI_FORMAT_BC7_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM: case DXGI_FORMAT_BC7_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM_SRGB: case DXGI_FORMAT_BC7_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D16_UNORM: case DXGI_FORMAT_D16_UNORM:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D24_UNORM_S8_UINT: case DXGI_FORMAT_D24_UNORM_S8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT: case DXGI_FORMAT_D32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_D32_FLOAT_S8X24_UINT: case DXGI_FORMAT_D32_FLOAT_S8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_DS, F_3D | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_G8R8_G8B8_UNORM: case DXGI_FORMAT_G8R8_G8B8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_IA44: case DXGI_FORMAT_IA44:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV11: case DXGI_FORMAT_NV11:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_NV12: case DXGI_FORMAT_NV12:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P010: case DXGI_FORMAT_P010:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P016: case DXGI_FORMAT_P016:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_P8: case DXGI_FORMAT_P8:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_TYPELESS: case DXGI_FORMAT_R10G10B10A2_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10A2_UNORM: case DXGI_FORMAT_R10G10B10A2_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM: case DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM:
{ {
static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | F_MS); static const DXGISupport info(0, F_CUBE | F_DS | F_RT | F_SAMPLE, F_2D | F_3D | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R11G11B10_FLOAT: case DXGI_FORMAT_R11G11B10_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_FLOAT: case DXGI_FORMAT_R16G16B16A16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SINT: case DXGI_FORMAT_R16G16B16A16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_TYPELESS: case DXGI_FORMAT_R16G16B16A16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UINT: case DXGI_FORMAT_R16G16B16A16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16B16A16_UNORM: case DXGI_FORMAT_R16G16B16A16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_FLOAT: case DXGI_FORMAT_R16G16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SINT: case DXGI_FORMAT_R16G16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_TYPELESS: case DXGI_FORMAT_R16G16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UINT: case DXGI_FORMAT_R16G16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16G16_UNORM: case DXGI_FORMAT_R16G16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_FLOAT: case DXGI_FORMAT_R16_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SINT: case DXGI_FORMAT_R16_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_TYPELESS: case DXGI_FORMAT_R16_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UINT: case DXGI_FORMAT_R16_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R16_UNORM: case DXGI_FORMAT_R16_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R1_UNORM: case DXGI_FORMAT_R1_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24G8_TYPELESS: case DXGI_FORMAT_R24G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R24_UNORM_X8_TYPELESS: case DXGI_FORMAT_R24_UNORM_X8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_FLOAT: case DXGI_FORMAT_R32G32B32A32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_SINT: case DXGI_FORMAT_R32G32B32A32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32A32_UINT: case DXGI_FORMAT_R32G32B32A32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_SINT: case DXGI_FORMAT_R32G32B32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_SAMPLE, F_MS | F_RT);
return info; return info;
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_SINT: case DXGI_FORMAT_R32G32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32_UINT: case DXGI_FORMAT_R32G32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT: case DXGI_FORMAT_R32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS: case DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_SINT: case DXGI_FORMAT_R32_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32_UINT: case DXGI_FORMAT_R32_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SINT: case DXGI_FORMAT_R8G8B8A8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_SNORM: case DXGI_FORMAT_R8G8B8A8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_TYPELESS: case DXGI_FORMAT_R8G8B8A8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UINT: case DXGI_FORMAT_R8G8B8A8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM: case DXGI_FORMAT_R8G8B8A8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB: case DXGI_FORMAT_R8G8B8A8_UNORM_SRGB:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_B8G8_UNORM: case DXGI_FORMAT_R8G8_B8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SINT: case DXGI_FORMAT_R8G8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_TYPELESS: case DXGI_FORMAT_R8G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UINT: case DXGI_FORMAT_R8G8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8G8_UNORM: case DXGI_FORMAT_R8G8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SINT: case DXGI_FORMAT_R8_SINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_TYPELESS: case DXGI_FORMAT_R8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE, F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UINT: case DXGI_FORMAT_R8_UINT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, F_DS | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R8_UNORM: case DXGI_FORMAT_R8_UNORM:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS, F_MS);
return info; return info;
} }
case DXGI_FORMAT_R9G9B9E5_SHAREDEXP: case DXGI_FORMAT_R9G9B9E5_SHAREDEXP:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | F_MS); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_DS | F_RT, F_MS);
return info; return info;
} }
case DXGI_FORMAT_UNKNOWN: case DXGI_FORMAT_UNKNOWN:
...@@ -1776,37 +1776,37 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1776,37 +1776,37 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_X24_TYPELESS_G8_UINT: case DXGI_FORMAT_X24_TYPELESS_G8_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT: case DXGI_FORMAT_X32_TYPELESS_G8X24_UINT:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y210: case DXGI_FORMAT_Y210:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y216: case DXGI_FORMAT_Y216:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y410: case DXGI_FORMAT_Y410:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_Y416: case DXGI_FORMAT_Y416:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
case DXGI_FORMAT_YUY2: case DXGI_FORMAT_YUY2:
{ {
static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_DS | F_RT | F_SAMPLE, F_MS);
return info; return info;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment