mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Disallow RESOURCE registers in destination parameters.
This commit is contained in:
parent
674ad7d655
commit
828e5f1249
Notes:
Henri Verbeet
2024-09-26 17:50:28 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1122
@ -6050,6 +6050,11 @@ static void vsir_validate_dst_param(struct validation_context *ctx,
|
||||
"Invalid SAMPLER register used as destination parameter.");
|
||||
break;
|
||||
|
||||
case VKD3DSPR_RESOURCE:
|
||||
validator_error(ctx, VKD3D_SHADER_ERROR_VSIR_INVALID_REGISTER_TYPE,
|
||||
"Invalid RESOURCE register used as destination parameter.");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user