spirv2dxil: Enable mediump

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23344>
This commit is contained in:
Jesse Natalie 2023-05-31 13:17:47 -07:00 committed by Marge Bot
parent ea68135ed1
commit 3b0cc6e204

View file

@ -64,6 +64,9 @@ spirv_to_nir_options = {
.min_ubo_alignment = 256, /* D3D12_CONSTANT_BUFFER_DATA_PLACEMENT_ALIGNMENT */
.min_ssbo_alignment = 16, /* D3D12_RAW_UAV_SRV_BYTE_ALIGNMENT */
.mediump_16bit_alu = true,
.mediump_16bit_derivatives = true,
};
const struct spirv_to_nir_options*