aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_blorp.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-10-23 15:51:21 -0700
committerJason Ekstrand <[email protected]>2017-10-26 15:24:38 -0700
commit94389943b63bf8e25fecbbdf357ae5da100d2fc9 (patch)
tree5a61ad7542af4a746b3bdc1bba5bec828a29190f /src/mesa/drivers/dri/i965/brw_blorp.c
parent8ab9820d34d3a454e455c99e28ed2b6031b25b0f (diff)
i965/blorp: Use blorp_to_isl_format for src_isl_format in blit_miptrees
Reviewed-by: Topi Pohjolainen <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_blorp.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_blorp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c b/src/mesa/drivers/dri/i965/brw_blorp.c
index ed4f9870f23..f7d128d6c32 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.c
+++ b/src/mesa/drivers/dri/i965/brw_blorp.c
@@ -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