mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 19:30:11 +01:00
anv: add a comment about handling buffer view swizzles on gfx7
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17385>
This commit is contained in:
parent
a9edc268b9
commit
af1ecbeb0a
1 changed files with 3 additions and 0 deletions
|
|
@ -113,6 +113,9 @@ anv_descriptor_data_for_type(const struct anv_physical_device *device,
|
|||
* Do not handle VK_DESCRIPTOR_TYPE_STORAGE_IMAGE and
|
||||
* VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT because they already must
|
||||
* have identity swizzle.
|
||||
*
|
||||
* TODO: We need to handle swizzle on buffer views too for those same
|
||||
* platforms.
|
||||
*/
|
||||
if (device->info.verx10 == 70 &&
|
||||
(type == VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue