From ee1c6bd48811166177593b01f39ae663b9981565 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Sat, 2 Dec 2023 17:09:31 +0100 Subject: [PATCH] vkd3d-shader: Add a VKD3D_FORCE_32_BIT_ENUM element to enum vkd3d_shader_compile_option_fragment_coordinate_origin. --- include/vkd3d_shader.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index 66a7de9b..ed6d6432 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -191,6 +191,8 @@ enum vkd3d_shader_compile_option_fragment_coordinate_origin /** Fragment coordinates originate from the lower-left. This matches the * traditional behaviour of OpenGL environments. */ VKD3D_SHADER_COMPILE_OPTION_FRAGMENT_COORDINATE_ORIGIN_LOWER_LEFT = 0x00000001, + + VKD3D_FORCE_32_BIT_ENUM(VKD3D_SHADER_COMPILE_OPTION_FRAGMENT_COORDINATE_ORIGIN), }; enum vkd3d_shader_compile_option_name