On 8/11/22 15:26, Francisco Casas wrote:
From: Francisco Casas fcasas@codeweavers.com
Signed-off-by: Francisco Casas fcasas@codeweavers.com
libs/vkd3d-shader/hlsl.c | 17 +++++++++ libs/vkd3d-shader/hlsl.h | 1 + libs/vkd3d-shader/hlsl_codegen.c | 63 ++++++++++++++++++++++++++------ 3 files changed, 69 insertions(+), 12 deletions(-)
Nice :D
+unsigned int hlsl_type_length(const struct hlsl_type *type)
"length" feels a bit ambiguous (I thought for a second it might mean "component count"). How about "element count"?