mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
i965: Fix comment to include 3d textures
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
This commit is contained in:
parent
de0b0a3a9c
commit
47d9b3a9dd
1 changed files with 2 additions and 1 deletions
|
|
@ -295,7 +295,8 @@ brw_miptree_layout_2d(struct intel_mipmap_tree *mt)
|
|||
unsigned y = 0;
|
||||
unsigned width = mt->physical_width0;
|
||||
unsigned height = mt->physical_height0;
|
||||
unsigned depth = mt->physical_depth0; /* number of array layers. */
|
||||
/* Number of layers of array texture or slices of 3d texture (gen9+). */
|
||||
unsigned depth = mt->physical_depth0;
|
||||
unsigned int bw, bh;
|
||||
|
||||
_mesa_get_format_block_size(mt->format, &bw, &bh);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue