mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-12 05:00:28 +01:00
radv: do not support blitting surfaces for R32G32B32 formats
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108113 Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
7c5aececda
commit
2c139e2cdf
1 changed files with 7 additions and 0 deletions
|
|
@ -667,6 +667,13 @@ radv_physical_device_get_format_properties(struct radv_physical_device *physical
|
|||
linear |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
tiled |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
}
|
||||
|
||||
/* Don't support blitting for R32G32B32 formats. */
|
||||
if (format == VK_FORMAT_R32G32B32_SFLOAT ||
|
||||
format == VK_FORMAT_R32G32B32_UINT ||
|
||||
format == VK_FORMAT_R32G32B32_SINT) {
|
||||
linear &= ~VK_FORMAT_FEATURE_BLIT_SRC_BIT;
|
||||
}
|
||||
}
|
||||
if (radv_is_colorbuffer_format_supported(format, &blendable)) {
|
||||
linear |= VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue