[PATCH 0/1] MR689: vkd3d-shader: Add documentation for the INT64 and FLOAT64 feature flags.
From: Henri Verbeet <hverbeet(a)codeweavers.com> --- include/vkd3d_shader.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index 2f4478a79..6fa98f3d8 100644 --- a/include/vkd3d_shader.h +++ b/include/vkd3d_shader.h @@ -199,7 +199,13 @@ enum vkd3d_shader_compile_option_fragment_coordinate_origin /** Advertises feature availability. \since 1.11 */ enum vkd3d_shader_compile_option_feature_flags { + /** The SPIR-V target environment supports 64-bit integer types. This + * corresponds to the "shaderInt64" feature in the Vulkan API, and the + * "GL_ARB_gpu_shader_int64" extension in the OpenGL API. */ VKD3D_SHADER_COMPILE_OPTION_FEATURE_INT64 = 0x00000001, + /** The SPIR-V target environment supports 64-bit floating-point types. + * This corresponds to the "shaderFloat64" feature in the Vulkan API, and + * the "GL_ARB_gpu_shader_fp64" extension in the OpenGL API. */ VKD3D_SHADER_COMPILE_OPTION_FEATURE_FLOAT64 = 0x00000002, VKD3D_FORCE_32_BIT_ENUM(VKD3D_SHADER_COMPILE_OPTION_FEATURE_FLAGS), -- GitLab https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/689
This merge request was approved by Giovanni Mascellani. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/689
This merge request was approved by Henri Verbeet. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/689
participants (3)
-
Giovanni Mascellani (@giomasce) -
Henri Verbeet -
Henri Verbeet (@hverbeet)