vkd3d-shader/ir: Add a couple of traces for signature remapping.

This commit is contained in:
Elizabeth Figura 2024-11-13 19:15:22 -06:00 committed by Henri Verbeet
parent f86d1e72a4
commit fc98cb482f
Notes: Henri Verbeet 2024-12-02 17:19:05 +01:00
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1265

View File

@ -1087,6 +1087,9 @@ static enum vkd3d_result vsir_program_remap_output_signature(struct vsir_program
e->target_location = map->input_register_index; e->target_location = map->input_register_index;
TRACE("Mapping signature index %u (mask %#x) to target location %u (mask %#x).\n",
i, e->mask, map->input_register_index, map->input_mask);
if ((input_mask & e->mask) == input_mask) if ((input_mask & e->mask) == input_mask)
{ {
++subset_varying_count; ++subset_varying_count;
@ -1107,6 +1110,8 @@ static enum vkd3d_result vsir_program_remap_output_signature(struct vsir_program
} }
else else
{ {
TRACE("Marking signature index %u (mask %#x) as unused.\n", i, e->mask);
e->target_location = SIGNATURE_TARGET_LOCATION_UNUSED; e->target_location = SIGNATURE_TARGET_LOCATION_UNUSED;
} }