mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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:
parent
585ce7e831
commit
8f696d8d97
1 changed files with 12 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue