mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 10:00:14 +01:00
intel/blorp: Don't assume R8_UINT in convert_to_single_slice
We're going to use it for more than just stencil textures Signed-off-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
2fc9c7e3d9
commit
7f2fecd114
1 changed files with 1 additions and 1 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue