panvk: Disable SNORM rendering

Driver isn't ready for this yet. 7f98a9ba2b ("panfrost: Implement
GL_EXT_render_snorm on Bifrost+") caused piles of tests to go from NotSupported
-> Fail, so let's functionally revert that.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21257>
This commit is contained in:
Alyssa Rosenzweig 2023-02-07 13:27:08 -05:00 committed by Marge Bot
parent 6142d50375
commit 7968c474b8

View file

@ -82,7 +82,8 @@ get_format_properties(struct panvk_physical_device *physical_device,
tex |= VK_FORMAT_FEATURE_BLIT_SRC_BIT;
}
if (fmt.bind & PIPE_BIND_RENDER_TARGET) {
/* SNORM rendering isn't working yet, disable */
if (fmt.bind & PIPE_BIND_RENDER_TARGET && !util_format_is_snorm(pfmt)) {
tex |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT |
VK_FORMAT_FEATURE_BLIT_DST_BIT;