vkd3d-shader: Add a VKD3D_FORCE_32_BIT_ENUM element to enum vkd3d_shader_compile_option_fragment_coordinate_origin.

This commit is contained in:
Henri Verbeet 2023-12-02 17:09:31 +01:00 committed by Alexandre Julliard
parent b4d03c0221
commit ee1c6bd488
Notes: Alexandre Julliard 2023-12-04 22:54:30 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/508

View File

@ -191,6 +191,8 @@ enum vkd3d_shader_compile_option_fragment_coordinate_origin
/** Fragment coordinates originate from the lower-left. This matches the /** Fragment coordinates originate from the lower-left. This matches the
* traditional behaviour of OpenGL environments. */ * traditional behaviour of OpenGL environments. */
VKD3D_SHADER_COMPILE_OPTION_FRAGMENT_COORDINATE_ORIGIN_LOWER_LEFT = 0x00000001, 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 enum vkd3d_shader_compile_option_name