From: Martin Storsjö martin@martin.st
As this is a negative constant, it shouldn't have an unsigned type.
Signed-off-by: Martin Storsjö martin@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 8f9c226e..0610ad9b 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;