mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-07 05:30:25 +01:00
i915g: Fix 3D texture layouts for width != height.
Obvious typo here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12384>
This commit is contained in:
parent
dad0c16782
commit
9b51204d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ i945_texture_layout_3d(struct i915_texture *tex)
|
|||
unsigned width = util_next_power_of_two(pt->width0);
|
||||
unsigned height = util_next_power_of_two(pt->height0);
|
||||
unsigned depth = util_next_power_of_two(pt->depth0);
|
||||
unsigned nblocksy = util_format_get_nblocksy(pt->format, width);
|
||||
unsigned nblocksy = util_format_get_nblocksy(pt->format, height);
|
||||
unsigned pack_x_pitch, pack_x_nr;
|
||||
unsigned pack_y_pitch;
|
||||
unsigned level;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue