summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_swizzle.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-04-03 03:52:36 +0000
committerAlyssa Rosenzweig <[email protected]>2019-04-04 03:51:43 +0000
commitb34d8222c7874bded1d8b3849252f40aadc7e1b5 (patch)
treef3fef2306c0a53e6a999d2509d44f2fa31df37ca /src/gallium/drivers/panfrost/pan_swizzle.h
parentc0183e8eedec8f4e023ca312456ae957c9dafbe7 (diff)
panfrost: Size tiled temp buffers correctly
This should lower transient memory usage and improve performance slightly (due to less memory to malloc/free, better cache locality, etc). Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_swizzle.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_swizzle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/panfrost/pan_swizzle.h b/src/gallium/drivers/panfrost/pan_swizzle.h
index 6f4dadef494..f4188f13930 100644
--- a/src/gallium/drivers/panfrost/pan_swizzle.h
+++ b/src/gallium/drivers/panfrost/pan_swizzle.h
@@ -32,7 +32,7 @@ panfrost_generate_space_filler_indices(void);
void
panfrost_texture_swizzle(unsigned off_x, unsigned off_y,
- int width, int height, int bytes_per_pixel, int source_stride, int dest_width,
+ int width, int height, int bytes_per_pixel, int dest_width,
const uint8_t *pixels,
uint8_t *ldest);