summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar Rundgren <oskar.rundgren@imgtec.com>2023-05-07 17:00:11 +0100
committerMarge Bot <emma+marge@anholt.net>2023-05-17 08:18:25 +0000
commit59ba5cc2d15bb65e9a55d06fe278ae199175c1c3 (patch)
treea787a209901bc1b3dbaa999be0dc19fe061e6846
parent0e3c828fc4efed524ecbd4accc918bf29e72739b (diff)
downloadmesa-59ba5cc2d15bb65e9a55d06fe278ae199175c1c3.tar.gz
pvr: Transfer ignore non zero stride for twiddled surface
Twiddled surfaces don't use stride but printing info about ignored stride is not useful on debug driver. Signed-off-by: Oskar Rundgren <oskar.rundgren@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22958>
-rw-r--r--src/imagination/vulkan/pvr_job_transfer.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/imagination/vulkan/pvr_job_transfer.c b/src/imagination/vulkan/pvr_job_transfer.c
index 7fd015fda03..7b60be8c292 100644
--- a/src/imagination/vulkan/pvr_job_transfer.c
+++ b/src/imagination/vulkan/pvr_job_transfer.c
@@ -701,9 +701,7 @@ pvr_mem_layout_spec(const struct pvr_transfer_cmd_surface *surface,
case PVR_MEMLAYOUT_TWIDDLED:
case PVR_MEMLAYOUT_3DTWIDDLED:
- if (surface->stride != 0U)
- mesa_logi("Ignoring stride value for twiddled/tiled surface!");
-
+ /* Ignoring stride value for twiddled/tiled surface. */
*stride_out = *width_out;
break;