include: Fix the type of D3D12_VIEWPORT_BOUNDS_MIN.

As this is a negative constant, it shouldn't have an unsigned type.

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2023-09-01 14:34:06 +03:00 committed by Alexandre Julliard
parent c5d680d141
commit dff79973e0
Notes: Alexandre Julliard 2023-09-07 23:00:50 +02:00
Approved-by: Jacek Caban (@jacek)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/327

View File

@ -28,7 +28,7 @@ cpp_quote("#define _D3D12_CONSTANTS")
const UINT D3D12_CS_TGSM_REGISTER_COUNT = 8192;
const UINT D3D12_MAX_ROOT_COST = 64;
const UINT D3D12_VIEWPORT_BOUNDS_MAX = 32767;
const UINT D3D12_VIEWPORT_BOUNDS_MIN = -32768;
const INT D3D12_VIEWPORT_BOUNDS_MIN = -32768;
const UINT D3D12_COMMONSHADER_CONSTANT_BUFFER_REGISTER_COUNT = 15;