Module: vkd3d Branch: master Commit: 6acca1f85e26ddc8837936dc30efa38e2dd6747c URL: https://gitlab.winehq.org/wine/vkd3d/-/commit/6acca1f85e26ddc8837936dc30efa3...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Mar 4 17:03:08 2024 +0100
vkd3d-shader: Add documentation for the INT64 and FLOAT64 feature flags.
---
include/vkd3d_shader.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/vkd3d_shader.h b/include/vkd3d_shader.h index 2f4478a7..6fa98f3d 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),