mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
svga: also dump SVGA3D_BUFFER surfaces in svga_screen_cache_dump()
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
This commit is contained in:
parent
0941ef3dd5
commit
903afc370f
1 changed files with 8 additions and 2 deletions
|
|
@ -563,8 +563,14 @@ svga_screen_cache_dump(const struct svga_screen *svgascreen)
|
|||
struct svga_host_surface_cache_entry *entry =
|
||||
LIST_ENTRY(struct svga_host_surface_cache_entry,
|
||||
curr, bucket_head);
|
||||
if (entry->key.format != 37) {
|
||||
debug_printf(" %u x %u x %u format %u\n",
|
||||
if (entry->key.format == SVGA3D_BUFFER) {
|
||||
debug_printf(" %p: buffer %u bytes\n",
|
||||
entry->handle,
|
||||
entry->key.size.width);
|
||||
}
|
||||
else {
|
||||
debug_printf(" %p: %u x %u x %u format %u\n",
|
||||
entry->handle,
|
||||
entry->key.size.width,
|
||||
entry->key.size.height,
|
||||
entry->key.size.depth,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue