projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edb1fcd
)
v3d: Fix release-build warning about utile_h.
author
Eric Anholt
<eric@anholt.net>
Fri, 25 Jan 2019 21:46:58 +0000
(13:46 -0800)
committer
Eric Anholt
<eric@anholt.net>
Sun, 27 Jan 2019 16:30:03 +0000
(08:30 -0800)
src/gallium/drivers/v3d/v3d_tiling.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/v3d/v3d_tiling.c
b/src/gallium/drivers/v3d/v3d_tiling.c
index 9fd801c3e959abca1ab4010b7216d8aca879d737..95cd0dff60fe3eb864b8c8bb3a9e2c6e444c0dcd 100644
(file)
--- a/
src/gallium/drivers/v3d/v3d_tiling.c
+++ b/
src/gallium/drivers/v3d/v3d_tiling.c
@@
-79,9
+79,8
@@
static inline uint32_t
v3d_get_utile_pixel_offset(uint32_t cpp, uint32_t x, uint32_t y)
{
uint32_t utile_w = v3d_utile_width(cpp);
- uint32_t utile_h = v3d_utile_height(cpp);
- assert(x < utile_w && y <
utile_h
);
+ assert(x < utile_w && y <
v3d_utile_height(cpp)
);
return x * cpp + y * utile_w * cpp;
}