mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/hlsl: Document matrix swizzles.
This commit is contained in:
parent
ed6061dfae
commit
70e2148fcb
Notes:
Henri Verbeet
2024-12-12 17:48:24 +01:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1297
@ -802,6 +802,8 @@ struct hlsl_ir_swizzle
|
|||||||
{
|
{
|
||||||
struct hlsl_ir_node node;
|
struct hlsl_ir_node node;
|
||||||
struct hlsl_src val;
|
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;
|
uint32_t swizzle;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user