mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 17:20:10 +01:00
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:
parent
f382922f08
commit
933f1dc50b
1 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue