summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-09-22 09:15:20 -0600
committerBrian Paul <[email protected]>2016-09-23 19:54:42 -0600
commitf942a703406b5e08f18fe308d78ea91422b2e01c (patch)
treeabfbce702bd60c24a8b11a0c247485a24a46a336 /src/gallium
parent14639cdf8fbe656f7093ede2d0d34d3d06182fb9 (diff)
svga: don't special case caps for SVGA3D_R32_FLOAT
This may have been needed years ago during development, but not now. Prevents some regressions after introducing the next patch. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/svga/svga_format.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c
index e3b146effb7..e307674750b 100644
--- a/src/gallium/drivers/svga/svga_format.c
+++ b/src/gallium/drivers/svga/svga_format.c
@@ -1686,18 +1686,14 @@ static const struct format_cap format_cap_table[] = {
SVGA3DFORMAT_OP_OFFSCREEN_RENDERTARGET
},
{
- /* Special case: no devcap / report sampler, render target and
- * depth/stencil ability
- */
"SVGA3D_R32_FLOAT",
SVGA3D_R32_FLOAT,
- 0, /*SVGA3D_DEVCAP_DXFMT_R32_FLOAT*/
+ SVGA3D_DEVCAP_DXFMT_R32_FLOAT,
1, 1, 4,
SVGA3DFORMAT_OP_TEXTURE |
SVGA3DFORMAT_OP_VOLUMETEXTURE |
SVGA3DFORMAT_OP_CUBETEXTURE |
- SVGA3DFORMAT_OP_OFFSCREEN_RENDERTARGET |
- SVGA3DFORMAT_OP_ZSTENCIL
+ SVGA3DFORMAT_OP_OFFSCREEN_RENDERTARGET
},
{
"SVGA3D_R8G8_SNORM",