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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user