diff --git a/libs/vkd3d-shader/ir.c b/libs/vkd3d-shader/ir.c index e306cc74..89ed1504 100644 --- a/libs/vkd3d-shader/ir.c +++ b/libs/vkd3d-shader/ir.c @@ -7076,6 +7076,7 @@ enum vkd3d_result vsir_program_validate(struct vsir_program *program, uint64_t c vsir_validate_signature(&ctx, &program->input_signature, "input"); vsir_validate_signature(&ctx, &program->output_signature, "output"); + vsir_validate_signature(&ctx, &program->patch_constant_signature, "patch constant"); if (!(ctx.temps = vkd3d_calloc(ctx.program->temp_count, sizeof(*ctx.temps)))) goto fail;