mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 21:20:12 +01:00
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:
parent
6142d50375
commit
7968c474b8
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue