From f942a703406b5e08f18fe308d78ea91422b2e01c Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 22 Sep 2016 09:15:20 -0600 Subject: 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 --- src/gallium/drivers/svga/svga_format.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/gallium') 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", -- cgit v1.2.3