mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/ir: Validate INCONTROLPOINT registers.
This commit is contained in:
parent
a4ab53ab7b
commit
1e86f00247
Notes:
Henri Verbeet
2024-10-17 17:40:38 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1196
@ -6256,6 +6256,11 @@ static void vsir_validate_io_register(struct validation_context *ctx,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VKD3DSPR_INCONTROLPOINT:
|
||||||
|
signature = &ctx->program->input_signature;
|
||||||
|
has_control_point = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case VKD3DSPR_PATCHCONST:
|
case VKD3DSPR_PATCHCONST:
|
||||||
signature = &ctx->program->patch_constant_signature;
|
signature = &ctx->program->patch_constant_signature;
|
||||||
break;
|
break;
|
||||||
@ -6694,6 +6699,10 @@ static void vsir_validate_register(struct validation_context *ctx,
|
|||||||
vsir_validate_uav_register(ctx, reg);
|
vsir_validate_uav_register(ctx, reg);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VKD3DSPR_INCONTROLPOINT:
|
||||||
|
vsir_validate_io_register(ctx, reg);
|
||||||
|
break;
|
||||||
|
|
||||||
case VKD3DSPR_PATCHCONST:
|
case VKD3DSPR_PATCHCONST:
|
||||||
vsir_validate_io_register(ctx, reg);
|
vsir_validate_io_register(ctx, reg);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user