From 6acca1f85e26ddc8837936dc30efa38e2dd6747c Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Mon, 4 Mar 2024 17:03:08 +0100 Subject: [PATCH] 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),