anv/formats: Properly set FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
This was added last minute and the API bumped to 1.0.2.
This commit is contained in:
@@ -318,6 +318,9 @@ get_image_format_properties(int gen, enum isl_format base,
|
||||
if (info->sampling <= gen) {
|
||||
flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT |
|
||||
VK_FORMAT_FEATURE_BLIT_SRC_BIT;
|
||||
|
||||
if (info->filtering <= gen)
|
||||
flags |= VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT;
|
||||
}
|
||||
|
||||
/* We can render to swizzled formats. However, if the alpha channel is
|
||||
|
||||
Reference in New Issue
Block a user