mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Do not emit HLSL_OP1_ABS for unsigned types.
This commit is contained in:
committed by
Henri Verbeet
parent
cdc74a9377
commit
a06b9f6646
Notes:
Henri Verbeet
2025-05-14 15:27:19 +02:00
Approved-by: Francisco Casas (@fcasas) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1497
@@ -1771,6 +1771,7 @@ unsigned int hlsl_type_get_component_offset(struct hlsl_ctx *ctx, struct hlsl_ty
|
||||
bool hlsl_type_is_integer(const struct hlsl_type *type);
|
||||
bool hlsl_type_is_floating_point(const struct hlsl_type *type);
|
||||
bool hlsl_type_is_row_major(const struct hlsl_type *type);
|
||||
bool hlsl_type_is_signed_integer(const struct hlsl_type *type);
|
||||
unsigned int hlsl_type_minor_size(const struct hlsl_type *type);
|
||||
unsigned int hlsl_type_major_size(const struct hlsl_type *type);
|
||||
unsigned int hlsl_type_element_count(const struct hlsl_type *type);
|
||||
|
||||
Reference in New Issue
Block a user