[SKL] isl_surface_state.c asserts in DOOM
@notaz
Submitted by Grazvydas Ignotas Assigned to Intel 3D Bugs Mailing List
Link to original bug (#100621)
Description
DOOM is hitting some isl_surface_state.c asserts since when they have been added:
mon\DOOM\DOOMx64vk.exe: isl/isl_surface_state.c:488: isl_gen9_surf_fill_state_s: Assertion info->view->swizzle.b == ISL_CHANNEL_SELECT_RED || info->view->swizzle.b == ISL_CHANNEL_SELECT_GREEN || info->view->swizzle.b == ISL_CHANNEL_SELECT_BLUE' failed. mon\DOOM\DOOMx64vk.exe: isl/isl_surface_state.c:485: isl_gen9_surf_fill_state_s: Assertion
info->view->swizzle.g == ISL_CHANNEL_SELECT_RED || info->view->swizzle.g == ISL_CHANNEL_SELECT_GREEN || info->view->swizzle.g == ISL_CHANNEL_SELECT_BLUE' failed.
Printing out the values shows that .g and/or .b are sometimes 0. From some limited testing, no rendering problems noticed in release build (or with those asserts commented out).
Version: git