Skip to content
Snippets Groups Projects
Commit bf4a1250 authored by Francisco Casas's avatar Francisco Casas Committed by Alexandre Julliard
Browse files

vkd3d-shader/hlsl: Ignore packoffset() contents for SM1.

parent 60237cb7
No related branches found
No related tags found
1 merge request!106vkd3d-shader/hlsl: packoffset() support.
......@@ -1107,6 +1107,9 @@ static struct hlsl_reg_reservation parse_packoffset(struct hlsl_ctx *ctx, const
struct hlsl_reg_reservation reservation = {0};
char *endptr;
if (ctx->profile->major_version < 4)
return reservation;
reservation.offset_index = strtoul(reg_string + 1, &endptr, 10);
if (*endptr)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment