mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-14 10:08:05 +02:00
spirv2dxil: Set min UBO/SSBO alignments
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21029>
This commit is contained in:
parent
58e7acb0e2
commit
9e2683c6f0
1 changed files with 4 additions and 1 deletions
|
|
@ -54,7 +54,10 @@ spirv_to_nir_options = {
|
|||
* instead of vulkan_resource_index. This makes it much easier to
|
||||
* get the DXIL handle for the SSBO.
|
||||
*/
|
||||
.use_deref_buffer_array_length = true
|
||||
.use_deref_buffer_array_length = true,
|
||||
|
||||
.min_ubo_alignment = 256, /* D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT */
|
||||
.min_ssbo_alignment = 16, /* D3D12_RAW_UAV_SRV_BYTE_ALIGNMENT */
|
||||
};
|
||||
|
||||
const struct spirv_to_nir_options*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue