mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 01:50:12 +01:00
i965/blorp: Use blorp_to_isl_format for src_isl_format in blit_miptrees
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Cc: mesa-stable@lists.freedesktop.org
This commit is contained in:
parent
8ab9820d34
commit
94389943b6
1 changed files with 2 additions and 1 deletions
|
|
@ -315,7 +315,8 @@ brw_blorp_blit_miptrees(struct brw_context *brw,
|
|||
src_format = dst_format = MESA_FORMAT_R_FLOAT32;
|
||||
}
|
||||
|
||||
enum isl_format src_isl_format = brw_isl_format_for_mesa_format(src_format);
|
||||
enum isl_format src_isl_format =
|
||||
brw_blorp_to_isl_format(brw, src_format, false);
|
||||
enum isl_aux_usage src_aux_usage =
|
||||
intel_miptree_texture_aux_usage(brw, src_mt, src_isl_format);
|
||||
/* We do format workarounds for some depth formats so we can't reliably
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue