d3d12: Enable Warnings C4267, C4996, C4146, C4244, C4389, C4838, C4302, C4018 in src/gallium/drivers/d3d12 subtree

Reviewed-By: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Jesse Natalie <None>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32979>
This commit is contained in:
Sil Vilerino 2025-01-09 10:54:52 -05:00 committed by Marge Bot
parent 585ce7e831
commit 8f696d8d97

View file

@ -2,6 +2,18 @@
# SPDX-License-Identifier: MIT
libd3d12_compiler_args = []
libd3d12_compiler_args += cc.get_supported_arguments([
'/we4267',
'/we4996',
'/we4146',
'/we4244',
'/we4389',
'/we4838',
'/we4302',
'/we4018',
])
_with_gallium_d3d12_graphics = get_option('gallium-d3d12-graphics')
with_gallium_d3d12_graphics = false
if not _with_gallium_d3d12_graphics.disabled()