Martin Storsjö : include: Fix the type of D3D12_VIEWPORT_BOUNDS_MIN.
Module: vkd3d Branch: master Commit: dff79973e006ed7d25c65c305c0e2e499fbf051f URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/dff79973e006ed7d25c65c305c0e2e... Author: Martin Storsjö <martin(a)martin.st> Date: Fri Sep 1 14:34:06 2023 +0300 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(a)martin.st> --- include/vkd3d_d3d12.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vkd3d_d3d12.idl b/include/vkd3d_d3d12.idl index 71a74999..dcaf0a69 100644 --- a/include/vkd3d_d3d12.idl +++ b/include/vkd3d_d3d12.idl @@ -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;
participants (1)
-
Alexandre Julliard