mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d-shader/ir: Disallow SAMPLER registers in destination parameters.
This commit is contained in:
parent
6de741e5e7
commit
674ad7d655
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
@ -6045,6 +6045,11 @@ static void vsir_validate_dst_param(struct validation_context *ctx,
|
||||
"Invalid IMMCONST64 register used as destination parameter.");
|
||||
break;
|
||||
|
||||
case VKD3DSPR_SAMPLER:
|
||||
validator_error(ctx, VKD3D_SHADER_ERROR_VSIR_INVALID_REGISTER_TYPE,
|
||||
"Invalid SAMPLER register used as destination parameter.");
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user