mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Add a couple of traces for signature remapping.
This commit is contained in:
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
@ -1087,6 +1087,9 @@ static enum vkd3d_result vsir_program_remap_output_signature(struct vsir_program
|
||||
|
||||
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)
|
||||
{
|
||||
++subset_varying_count;
|
||||
@ -1107,6 +1110,8 @@ static enum vkd3d_result vsir_program_remap_output_signature(struct vsir_program
|
||||
}
|
||||
else
|
||||
{
|
||||
TRACE("Marking signature index %u (mask %#x) as unused.\n", i, e->mask);
|
||||
|
||||
e->target_location = SIGNATURE_TARGET_LOCATION_UNUSED;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user