summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/intel/blorp/blorp_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index c6fba669cee..c6285d4193d 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1276,7 +1276,7 @@ surf_convert_to_single_slice(const struct isl_device *isl_dev,
struct isl_surf_init_info init_info = { 0, };
init_info.dim = ISL_SURF_DIM_2D;
- init_info.format = ISL_FORMAT_R8_UINT;
+ init_info.format = info->surf.format;
init_info.width =
minify(info->surf.logical_level0_px.width, info->view.base_level);
init_info.height =