Skip to content
Snippets Groups Projects
Commit c7682480 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard
Browse files

vkd3d-shader: Remove duplicate initialization.

parent b2526930
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment