mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d: Move descriptor sets backing the SRV-UAV-CBV heap at the end.
So that when mutable descriptors are in use we can avoid putting the other descriptor sets backing the SRV-UAV-CBV descriptor heap in the pipeline layout altogether.
This commit is contained in:
parent
8d030718ae
commit
96b324c156
Notes:
Henri Verbeet
2024-10-23 16:18:40 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1218
@ -772,15 +772,15 @@ void d3d12_dsv_desc_create_dsv(struct d3d12_dsv_desc *dsv_desc, struct d3d12_dev
|
||||
|
||||
enum vkd3d_vk_descriptor_set_index
|
||||
{
|
||||
VKD3D_SET_INDEX_UNIFORM_BUFFER = 0,
|
||||
VKD3D_SET_INDEX_SAMPLER,
|
||||
VKD3D_SET_INDEX_UAV_COUNTER,
|
||||
VKD3D_SET_INDEX_UNIFORM_BUFFER,
|
||||
VKD3D_SET_INDEX_MUTABLE = VKD3D_SET_INDEX_UNIFORM_BUFFER,
|
||||
VKD3D_SET_INDEX_UNIFORM_TEXEL_BUFFER = 1,
|
||||
VKD3D_SET_INDEX_SAMPLED_IMAGE = 2,
|
||||
VKD3D_SET_INDEX_STORAGE_TEXEL_BUFFER = 3,
|
||||
VKD3D_SET_INDEX_STORAGE_IMAGE = 4,
|
||||
VKD3D_SET_INDEX_SAMPLER = 5,
|
||||
VKD3D_SET_INDEX_UAV_COUNTER = 6,
|
||||
VKD3D_SET_INDEX_COUNT = 7
|
||||
VKD3D_SET_INDEX_UNIFORM_TEXEL_BUFFER,
|
||||
VKD3D_SET_INDEX_SAMPLED_IMAGE,
|
||||
VKD3D_SET_INDEX_STORAGE_TEXEL_BUFFER,
|
||||
VKD3D_SET_INDEX_STORAGE_IMAGE,
|
||||
VKD3D_SET_INDEX_COUNT
|
||||
};
|
||||
|
||||
extern const enum vkd3d_vk_descriptor_set_index vk_descriptor_set_index_table[];
|
||||
|
Loading…
Reference in New Issue
Block a user