Commit 187d4452 by Jamie Madill

Add DXGI RenderTarget info to the format tables.

This will save us some time on D3D11 startup. BUG=angleproject:1014 Change-Id: Ic00b3dfd9f6230d2d54e6e9bb74be55b923697fe Reviewed-on: https://chromium-review.googlesource.com/275775Tested-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarBrandon Jones <bajones@chromium.org> Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
parent a986c834
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -166,7 +166,7 @@ ...@@ -166,7 +166,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -186,7 +186,7 @@ ...@@ -186,7 +186,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -216,7 +216,7 @@ ...@@ -216,7 +216,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -226,7 +226,7 @@ ...@@ -226,7 +226,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -246,7 +246,7 @@ ...@@ -246,7 +246,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -276,7 +276,7 @@ ...@@ -276,7 +276,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -286,7 +286,7 @@ ...@@ -286,7 +286,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -296,7 +296,7 @@ ...@@ -296,7 +296,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -306,7 +306,7 @@ ...@@ -306,7 +306,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -316,7 +316,7 @@ ...@@ -316,7 +316,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -326,7 +326,7 @@ ...@@ -326,7 +326,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -336,7 +336,7 @@ ...@@ -336,7 +336,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -346,7 +346,7 @@ ...@@ -346,7 +346,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -376,7 +376,7 @@ ...@@ -376,7 +376,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -386,7 +386,7 @@ ...@@ -386,7 +386,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -406,7 +406,7 @@ ...@@ -406,7 +406,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -416,7 +416,7 @@ ...@@ -416,7 +416,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -426,7 +426,7 @@ ...@@ -426,7 +426,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -436,7 +436,7 @@ ...@@ -436,7 +436,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -456,7 +456,7 @@ ...@@ -456,7 +456,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -466,7 +466,7 @@ ...@@ -466,7 +466,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0check10_1always", "shaderSample": "10_0check10_1always",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -496,7 +496,7 @@ ...@@ -496,7 +496,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -506,7 +506,7 @@ ...@@ -506,7 +506,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -516,7 +516,7 @@ ...@@ -516,7 +516,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -536,7 +536,7 @@ ...@@ -536,7 +536,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -556,7 +556,7 @@ ...@@ -556,7 +556,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -566,7 +566,7 @@ ...@@ -566,7 +566,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -576,7 +576,7 @@ ...@@ -576,7 +576,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -586,7 +586,7 @@ ...@@ -586,7 +586,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -596,7 +596,7 @@ ...@@ -596,7 +596,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -606,7 +606,7 @@ ...@@ -606,7 +606,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -616,7 +616,7 @@ ...@@ -616,7 +616,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -626,7 +626,7 @@ ...@@ -626,7 +626,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -636,7 +636,7 @@ ...@@ -636,7 +636,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -646,7 +646,7 @@ ...@@ -646,7 +646,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -656,7 +656,7 @@ ...@@ -656,7 +656,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -666,7 +666,7 @@ ...@@ -666,7 +666,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -676,7 +676,7 @@ ...@@ -676,7 +676,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -686,7 +686,7 @@ ...@@ -686,7 +686,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -696,7 +696,7 @@ ...@@ -696,7 +696,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -706,7 +706,7 @@ ...@@ -706,7 +706,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -716,7 +716,7 @@ ...@@ -716,7 +716,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -726,7 +726,7 @@ ...@@ -726,7 +726,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -736,7 +736,7 @@ ...@@ -736,7 +736,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -746,7 +746,7 @@ ...@@ -746,7 +746,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -756,7 +756,7 @@ ...@@ -756,7 +756,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -766,7 +766,7 @@ ...@@ -766,7 +766,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -776,7 +776,7 @@ ...@@ -776,7 +776,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -786,7 +786,7 @@ ...@@ -786,7 +786,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -796,7 +796,7 @@ ...@@ -796,7 +796,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -806,7 +806,7 @@ ...@@ -806,7 +806,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -816,7 +816,7 @@ ...@@ -816,7 +816,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -826,7 +826,7 @@ ...@@ -826,7 +826,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -836,7 +836,7 @@ ...@@ -836,7 +836,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -846,7 +846,7 @@ ...@@ -846,7 +846,7 @@
"texture3D": "always", "texture3D": "always",
"textureCube": "always", "textureCube": "always",
"shaderSample": "10_0", "shaderSample": "10_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -856,7 +856,7 @@ ...@@ -856,7 +856,7 @@
"texture3D": "dxgi1_2", "texture3D": "dxgi1_2",
"textureCube": "dxgi1_2", "textureCube": "dxgi1_2",
"shaderSample": "dxgi1_2", "shaderSample": "dxgi1_2",
"renderTarget": "check", "renderTarget": "dxgi1_2",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -876,7 +876,7 @@ ...@@ -876,7 +876,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "check", "renderTarget": "10_0check11_0always",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -886,7 +886,7 @@ ...@@ -886,7 +886,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "check", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -896,7 +896,7 @@ ...@@ -896,7 +896,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -906,7 +906,7 @@ ...@@ -906,7 +906,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -916,7 +916,7 @@ ...@@ -916,7 +916,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "check", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -926,7 +926,7 @@ ...@@ -926,7 +926,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -936,7 +936,7 @@ ...@@ -936,7 +936,7 @@
"texture3D": "check", "texture3D": "check",
"textureCube": "check", "textureCube": "check",
"shaderSample": "10_0check11_0always", "shaderSample": "10_0check11_0always",
"renderTarget": "check", "renderTarget": "11_0",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -946,7 +946,7 @@ ...@@ -946,7 +946,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -956,7 +956,7 @@ ...@@ -956,7 +956,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -966,7 +966,7 @@ ...@@ -966,7 +966,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -976,7 +976,7 @@ ...@@ -976,7 +976,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -986,7 +986,7 @@ ...@@ -986,7 +986,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -996,7 +996,7 @@ ...@@ -996,7 +996,7 @@
"texture3D": "11_0", "texture3D": "11_0",
"textureCube": "11_0", "textureCube": "11_0",
"shaderSample": "11_0", "shaderSample": "11_0",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1006,7 +1006,7 @@ ...@@ -1006,7 +1006,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1016,7 +1016,7 @@ ...@@ -1016,7 +1016,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1026,7 +1026,7 @@ ...@@ -1026,7 +1026,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1036,7 +1036,7 @@ ...@@ -1036,7 +1036,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1046,7 +1046,7 @@ ...@@ -1046,7 +1046,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1056,7 +1056,7 @@ ...@@ -1056,7 +1056,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1066,7 +1066,7 @@ ...@@ -1066,7 +1066,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1076,7 +1076,7 @@ ...@@ -1076,7 +1076,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1086,7 +1086,7 @@ ...@@ -1086,7 +1086,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1096,7 +1096,7 @@ ...@@ -1096,7 +1096,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1106,7 +1106,7 @@ ...@@ -1106,7 +1106,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "11_1", "shaderSample": "11_1",
"renderTarget": "check", "renderTarget": "11_1",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1116,7 +1116,7 @@ ...@@ -1116,7 +1116,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1126,7 +1126,7 @@ ...@@ -1126,7 +1126,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1136,7 +1136,7 @@ ...@@ -1136,7 +1136,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
...@@ -1146,7 +1146,7 @@ ...@@ -1146,7 +1146,7 @@
"texture3D": "never", "texture3D": "never",
"textureCube": "never", "textureCube": "never",
"shaderSample": "never", "shaderSample": "never",
"renderTarget": "check", "renderTarget": "never",
"multisampleRT": "check", "multisampleRT": "check",
"depthStencil": "check" "depthStencil": "check"
}, },
......
...@@ -49,27 +49,27 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -49,27 +49,27 @@ 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
...@@ -84,12 +84,12 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -84,12 +84,12 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_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_RT | F_SAMPLE, 0, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
...@@ -99,332 +99,332 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -99,332 +99,332 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
} }
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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | 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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | 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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC1_UNORM: case DXGI_FORMAT_BC1_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC2_UNORM: case DXGI_FORMAT_BC2_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC3_UNORM: case DXGI_FORMAT_BC3_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC4_UNORM: case DXGI_FORMAT_BC4_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC5_UNORM: case DXGI_FORMAT_BC5_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_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_SF16: case DXGI_FORMAT_BC6H_SF16:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_TYPELESS: case DXGI_FORMAT_BC6H_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_TYPELESS: case DXGI_FORMAT_BC7_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM: case DXGI_FORMAT_BC7_UNORM:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM_SRGB: case DXGI_FORMAT_BC7_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_2D | F_3D | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16B16A16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D, F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT, F_DS | 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, 0, F_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
...@@ -439,7 +439,7 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -439,7 +439,7 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
...@@ -449,142 +449,142 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat) ...@@ -449,142 +449,142 @@ const DXGISupport &GetDXGISupport_10_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
static const DXGISupport info(F_2D | F_3D | F_CUBE, 0, F_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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, 0, F_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT, 0, 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_DS | F_MS | F_RT | F_SAMPLE); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
...@@ -640,27 +640,27 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -640,27 +640,27 @@ 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
...@@ -675,12 +675,12 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -675,12 +675,12 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_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_RT | F_SAMPLE, 0, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
...@@ -690,332 +690,332 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -690,332 +690,332 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
} }
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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_SAMPLE);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | 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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | 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_RT | F_SAMPLE); static const DXGISupport info(0, 0, F_2D | F_3D | F_CUBE | F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC1_UNORM: case DXGI_FORMAT_BC1_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC2_UNORM: case DXGI_FORMAT_BC2_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC3_UNORM: case DXGI_FORMAT_BC3_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC4_UNORM: case DXGI_FORMAT_BC4_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC5_UNORM: case DXGI_FORMAT_BC5_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_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_SF16: case DXGI_FORMAT_BC6H_SF16:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_TYPELESS: case DXGI_FORMAT_BC6H_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_TYPELESS: case DXGI_FORMAT_BC7_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM: case DXGI_FORMAT_BC7_UNORM:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_BC7_UNORM_SRGB: case DXGI_FORMAT_BC7_UNORM_SRGB:
{ {
static const DXGISupport info(0, 0, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_2D | F_3D | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16B16A16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D, F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
...@@ -1030,7 +1030,7 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -1030,7 +1030,7 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
...@@ -1040,142 +1040,142 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat) ...@@ -1040,142 +1040,142 @@ const DXGISupport &GetDXGISupport_10_1(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
...@@ -1231,27 +1231,27 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1231,27 +1231,27 @@ 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B4G4R4A4_UNORM: case DXGI_FORMAT_B4G4R4A4_UNORM:
...@@ -1266,347 +1266,347 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1266,347 +1266,347 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_B5G6R5_UNORM: case DXGI_FORMAT_B5G6R5_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_RT | F_SAMPLE, 0, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_TYPELESS: case DXGI_FORMAT_B8G8R8A8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM: case DXGI_FORMAT_B8G8R8A8_UNORM:
{ {
static const DXGISupport info(F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8A8_UNORM_SRGB:
{ {
static const DXGISupport info(F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_TYPELESS: case DXGI_FORMAT_B8G8R8X8_TYPELESS:
{ {
static const DXGISupport info(0, F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_RT | F_SAMPLE, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM: case DXGI_FORMAT_B8G8R8X8_UNORM:
{ {
static const DXGISupport info(F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB: case DXGI_FORMAT_B8G8R8X8_UNORM_SRGB:
{ {
static const DXGISupport info(F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | F_MS | F_RT); static const DXGISupport info(F_RT | F_SAMPLE, 0, F_2D | F_3D | F_CUBE | F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC1_UNORM: case DXGI_FORMAT_BC1_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC2_UNORM: case DXGI_FORMAT_BC2_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC3_UNORM: case DXGI_FORMAT_BC3_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC4_UNORM: case DXGI_FORMAT_BC4_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC5_UNORM: case DXGI_FORMAT_BC5_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC6H_UF16: case DXGI_FORMAT_BC6H_UF16:
{ {
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_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_BC7_UNORM: case DXGI_FORMAT_BC7_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_RT, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R10G10B10A2_UINT: case DXGI_FORMAT_R10G10B10A2_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_2D | F_3D | F_DS | F_MS | F_RT); static const DXGISupport info(0, F_CUBE | F_RT | F_SAMPLE, F_2D | F_3D | F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16B16A16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16B16A16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16G16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16G16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R16_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R16_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_R24G8_TYPELESS: case DXGI_FORMAT_R24G8_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32B32A32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G32B32_FLOAT: case DXGI_FORMAT_R32G32B32_FLOAT:
...@@ -1621,7 +1621,7 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1621,7 +1621,7 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32B32_TYPELESS: case DXGI_FORMAT_R32G32B32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | F_MS);
return info; return info;
} }
case DXGI_FORMAT_R32G32B32_UINT: case DXGI_FORMAT_R32G32B32_UINT:
...@@ -1631,142 +1631,142 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat) ...@@ -1631,142 +1631,142 @@ const DXGISupport &GetDXGISupport_11_0(DXGI_FORMAT dxgiFormat)
} }
case DXGI_FORMAT_R32G32_FLOAT: case DXGI_FORMAT_R32G32_FLOAT:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32G32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_R32G8X24_TYPELESS: case DXGI_FORMAT_R32G8X24_TYPELESS:
{ {
static const DXGISupport info(F_2D | F_CUBE, F_3D | F_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE | F_SAMPLE, F_3D | F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_TYPELESS: case DXGI_FORMAT_R32_TYPELESS:
{ {
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_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8B8A8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8G8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8G8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_SNORM: case DXGI_FORMAT_R8_SNORM:
{ {
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_RT | F_SAMPLE, 0, 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_SAMPLE, F_DS | F_MS | F_RT); 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_UINT: case DXGI_FORMAT_R8_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_RT, F_SAMPLE, F_DS | 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_SAMPLE, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, 0, 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, 0, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_3D | F_CUBE | F_SAMPLE, F_RT, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(F_2D | F_CUBE, F_3D | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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_SAMPLE, F_DS | F_MS | F_RT); static const DXGISupport info(0, F_2D | F_3D | F_CUBE | F_RT | F_SAMPLE, F_DS | 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