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; };