summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorCharmaine Lee <charmainel@vmware.com>2017-06-12 15:56:17 -0700
committerBrian Paul <brianp@vmware.com>2017-06-27 07:49:02 -0600
commit122ca27a48400fe2efe790ecf46e91b9c9b88108 (patch)
tree0b1f528155410b3760a46bdee69d7ab49701ae58 /src/gallium/drivers
parenteea6223184e312bebbd751c892584e19301cf716 (diff)
svga: fix the default devcap for SVGA3D_Z_D24S8_INT
The default devcap for format SVGA3D_Z_D24S8_INT in HWv8 when its devcap is not explicitly advertised should be set to zero to match the default value in the device. Tested with MTT piglit in HW version 8. Reviewed-by: Neha Bhende <bhenden@vmware.com>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/svga/svga_format.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/svga_format.c b/src/gallium/drivers/svga/svga_format.c
index 7b06a16c3f..8c73a623e1 100644
--- a/src/gallium/drivers/svga/svga_format.c
+++ b/src/gallium/drivers/svga/svga_format.c
@@ -1618,10 +1618,7 @@ static const struct format_cap format_cap_table[] = {
SVGA3D_Z_D24S8_INT,
SVGA3D_DEVCAP_SURFACEFMT_Z_D24S8_INT,
1, 1, 4,
- SVGA3DFORMAT_OP_TEXTURE |
- SVGA3DFORMAT_OP_CUBETEXTURE |
- SVGA3DFORMAT_OP_VOLUMETEXTURE |
- SVGA3DFORMAT_OP_ZSTENCIL
+ 0
},
{
"SVGA3D_YV12",