mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 15:50:17 +01:00
i965/miptree: Store compression flag also for isl based
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
f8894fab02
commit
bbd89c1951
1 changed files with 1 additions and 0 deletions
|
|
@ -842,6 +842,7 @@ make_surface(struct brw_context *brw, GLenum target, mesa_format format,
|
|||
mt->format = format;
|
||||
mt->aux_state = NULL;
|
||||
mt->cpp = isl_format_get_layout(mt->surf.format)->bpb / 8;
|
||||
mt->compressed = _mesa_is_format_compressed(format);
|
||||
|
||||
return mt;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue