vkd3d-shader/ir: Validate index count for WAVELANECOUNT registers.

This commit is contained in:
Giovanni Mascellani 2024-11-21 23:03:38 +01:00 committed by Henri Verbeet
parent 820a545950
commit 5b04a7973b
Notes: Henri Verbeet 2024-11-25 21:02:32 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1278

View File

@ -7277,6 +7277,10 @@ static void vsir_validate_register(struct validation_context *ctx,
vsir_validate_ssa_register(ctx, reg);
break;
case VKD3DSPR_WAVELANECOUNT:
vsir_validate_register_without_indices(ctx, reg);
break;
default:
break;
}