hasvk: remove coarse pixel checks

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19852>
This commit is contained in:
Lionel Landwerlin 2022-10-19 10:20:42 +03:00 committed by Marge Bot
parent 2d150f3ecd
commit 8baacba4d6

View file

@ -805,11 +805,6 @@ anv_get_image_format_features2(const struct intel_device_info *devinfo,
}
}
if (devinfo->has_coarse_pixel_primitive_and_cb &&
vk_format == VK_FORMAT_R8_UINT &&
vk_tiling == VK_IMAGE_TILING_OPTIMAL)
flags |= VK_FORMAT_FEATURE_FRAGMENT_SHADING_RATE_ATTACHMENT_BIT_KHR;
return flags;
}