mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-17 23:40:29 +01:00
radeon: add some debugging info to sw tiling/untiling functions
This commit is contained in:
parent
5fefca5dba
commit
8014b5f068
1 changed files with 10 additions and 1 deletions
|
|
@ -30,7 +30,8 @@
|
|||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <main/macros.h>
|
||||
#include "main/macros.h"
|
||||
#include "radeon_debug.h"
|
||||
|
||||
#define MICRO_TILE_SIZE 32
|
||||
|
||||
|
|
@ -215,6 +216,10 @@ void tile_image(const void * src, unsigned src_pitch,
|
|||
assert(dst_pitch >= width);
|
||||
assert(dst_pitch * _mesa_get_format_bytes(format) % MICRO_TILE_SIZE == 0);
|
||||
|
||||
radeon_print(RADEON_TEXTURE, RADEON_TRACE,
|
||||
"Software tiling: src_pitch %d, dst_pitch %d, width %d, height %d, bpp %d\n",
|
||||
src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format));
|
||||
|
||||
switch (_mesa_get_format_bytes(format))
|
||||
{
|
||||
case 16:
|
||||
|
|
@ -436,6 +441,10 @@ void untile_image(const void * src, unsigned src_pitch,
|
|||
assert(dst_pitch >= width);
|
||||
assert(src_pitch * _mesa_get_format_bytes(format) % MICRO_TILE_SIZE == 0);
|
||||
|
||||
radeon_print(RADEON_TEXTURE, RADEON_TRACE,
|
||||
"Software untiling: src_pitch %d, dst_pitch %d, width %d, height %d, bpp %d\n",
|
||||
src_pitch, dst_pitch, width, height, _mesa_get_format_bytes(format));
|
||||
|
||||
switch (_mesa_get_format_bytes(format))
|
||||
{
|
||||
case 16:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue