mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 15:10:10 +01:00
isl/state: Set the IntegerSurfaceFormat bit on Haswell
This fixes 688 Vulkan CTS tests on Haswell. Reviewed-by: Chad Versace <chad.versace@intel.com> Cc: "12.0" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
324103da75
commit
6a43204afa
1 changed files with 4 additions and 0 deletions
|
|
@ -203,6 +203,10 @@ isl_genX(surf_fill_state_s)(const struct isl_device *dev, void *state,
|
|||
s.SurfaceFormat = info->view->format;
|
||||
}
|
||||
|
||||
#if GEN_IS_HASWELL
|
||||
s.IntegerSurfaceFormat = isl_format_has_int_channel(s.SurfaceFormat);
|
||||
#endif
|
||||
|
||||
s.Width = info->surf->logical_level0_px.width - 1;
|
||||
s.Height = info->surf->logical_level0_px.height - 1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue