mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Validate index count for TESSCOORD registers.
This commit is contained in:
parent
f2659c14a2
commit
26251d02a9
Notes:
Henri Verbeet
2024-11-24 00:10:10 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1270
@ -7233,6 +7233,10 @@ static void vsir_validate_register(struct validation_context *ctx,
|
|||||||
vsir_validate_io_register(ctx, reg);
|
vsir_validate_io_register(ctx, reg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VKD3DSPR_TESSCOORD:
|
||||||
|
vsir_validate_register_without_indices(ctx, reg);
|
||||||
|
break;
|
||||||
|
|
||||||
case VKD3DSPR_DEPTHOUTGE:
|
case VKD3DSPR_DEPTHOUTGE:
|
||||||
vsir_validate_register_without_indices(ctx, reg);
|
vsir_validate_register_without_indices(ctx, reg);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user