From 70e2148fcb19a33ad92b3df085ad61f9e6c6e983 Mon Sep 17 00:00:00 2001 From: Elizabeth Figura Date: Sat, 20 Jul 2024 12:26:56 -0500 Subject: [PATCH] vkd3d-shader/hlsl: Document matrix swizzles. --- libs/vkd3d-shader/hlsl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/vkd3d-shader/hlsl.h b/libs/vkd3d-shader/hlsl.h index 05bef663..a93e29ea 100644 --- a/libs/vkd3d-shader/hlsl.h +++ b/libs/vkd3d-shader/hlsl.h @@ -802,6 +802,8 @@ struct hlsl_ir_swizzle { struct hlsl_ir_node node; struct hlsl_src val; + /* For vectors, a swizzle described by hlsl_swizzle_get_component(). + * For matrices, a swizzle described by hlsl_matrix_swizzle_get_component(). */ uint32_t swizzle; };