vkd3d-shader: Remove duplicate initialization.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2021-12-15 21:29:28 +02:00 committed by Alexandre Julliard
parent b252693043
commit c7682480dd

View File

@ -878,8 +878,6 @@ static enum vkd3d_result shader_sm1_init(struct vkd3d_shader_sm1_parser *sm1,
uint16_t shader_type;
size_t token_count;
code = compile_info->source.code;
code_size = compile_info->source.size;
token_count = code_size / sizeof(*sm1->start);
if (token_count < 2)