diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2023-04-04 13:32:53 +0300 |
---|---|---|
committer | Eric Engestrom <eric@engestrom.ch> | 2023-04-19 14:37:56 +0100 |
commit | 3eeb4bedfac2e2f188cf80d85b476b6a91662684 (patch) | |
tree | e1ad56ddfca483cfa23757cb205b371639422b9d /src/intel/vulkan/anv_formats.c | |
parent | 0ffe4381b1ce155d23cd1c3d2aea4238247cccbd (diff) | |
download | mesa-3eeb4bedfac2e2f188cf80d85b476b6a91662684.tar.gz |
isl: fix a number of errors on storage format support on Gfx9/12.5
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22302>
(cherry picked from commit d4f498a5835f20fde39c0980268dcfbf7b4037b8)
Diffstat (limited to 'src/intel/vulkan/anv_formats.c')
-rw-r--r-- | src/intel/vulkan/anv_formats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index 7ac162626b0..959c2c27976 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -830,7 +830,7 @@ get_buffer_format_features2(const struct intel_device_info *devinfo, if (isl_format_supports_vertex_fetch(devinfo, isl_format)) flags |= VK_FORMAT_FEATURE_2_VERTEX_BUFFER_BIT; - if (isl_is_storage_image_format(isl_format)) + if (isl_is_storage_image_format(devinfo, isl_format)) flags |= VK_FORMAT_FEATURE_2_STORAGE_TEXEL_BUFFER_BIT; if (isl_format == ISL_FORMAT_R32_SINT || isl_format == ISL_FORMAT_R32_UINT) |