zink: fix bindless struct member comments

this was a bit confusing having the overall substruct comment which
was occasionally wrong

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21085>
This commit is contained in:
Mike Blumenkrantz 2023-02-02 13:02:06 -05:00 committed by Marge Bot
parent f382922f08
commit 933f1dc50b

View file

@ -1726,19 +1726,19 @@ struct zink_context {
struct zink_resource *descriptor_res[ZINK_DESCRIPTOR_BASE_TYPES][MESA_SHADER_STAGES][PIPE_MAX_SAMPLERS];
struct {
struct util_idalloc tex_slots;
struct util_idalloc img_slots;
struct hash_table tex_handles;
struct hash_table img_handles;
struct util_idalloc tex_slots; //img, buffer
struct util_idalloc img_slots; //img, buffer
struct hash_table tex_handles; //img, buffer
struct hash_table img_handles; //img, buffer
union {
struct {
VkBufferView *buffer_infos; //tex, img
} t;
};
VkDescriptorImageInfo *img_infos; //tex, img
struct util_dynarray updates;
struct util_dynarray resident;
} bindless[2]; //img, buffer
struct util_dynarray updates; //texture, img
struct util_dynarray resident; //texture, img
} bindless[2];
union {
bool bindless_dirty[2]; //tex, img
uint16_t any_bindless_dirty;