projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eea6223
)
svga: fix the default devcap for SVGA3D_Z_D24S8_INT
author
Charmaine Lee
<charmainel@vmware.com>
Mon, 12 Jun 2017 22:56:17 +0000
(15:56 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 27 Jun 2017 13:49:02 +0000
(07:49 -0600)
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>
src/gallium/drivers/svga/svga_format.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/svga/svga_format.c
b/src/gallium/drivers/svga/svga_format.c
index 7b06a16c3f38862db2c004754e3f051bb1cc980a..8c73a623e1fa5b4df07ae0826c142d0a89c954fb 100644
(file)
--- 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",