mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-22 09:40:40 +02:00
radv/gfx9: don't expose linear depth on vega.
This just zeros out the linear flags for gfx9 + depth formats.
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit 8985ad494b)
This commit is contained in:
parent
9172c7744a
commit
c25e896810
1 changed files with 4 additions and 0 deletions
|
|
@ -578,6 +578,10 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
|||
VK_FORMAT_FEATURE_BLIT_DST_BIT;
|
||||
tiled |= VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR |
|
||||
VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR;
|
||||
|
||||
/* GFX9 doesn't support linear depth surfaces */
|
||||
if (physical_device->rad_info.chip_class >= GFX9)
|
||||
linear = 0;
|
||||
}
|
||||
} else {
|
||||
bool linear_sampling;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue