vkd3d-shader: Track bytecode buffer size in bytes.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura
2021-07-08 21:13:19 -05:00
committed by Alexandre Julliard
parent 1ed82b9fc4
commit 9f0b475583
2 changed files with 48 additions and 59 deletions

View File

@@ -126,7 +126,7 @@ struct hlsl_type
} e;
unsigned int reg_size;
unsigned int bytecode_offset;
size_t bytecode_offset;
};
struct hlsl_semantic
@@ -144,7 +144,7 @@ struct hlsl_struct_field
struct hlsl_semantic semantic;
unsigned int reg_offset;
unsigned int name_bytecode_offset;
size_t name_bytecode_offset;
};
struct hlsl_reg