Module: vkd3d Branch: master Commit: c7682480dd40f22a8fa03e2fa593d48000c01c49 URL: https://source.winehq.org/git/vkd3d.git/?a=commit;h=c7682480dd40f22a8fa03e2f...
Author: Andrey Gusev andrey.goosev@gmail.com Date: Wed Dec 15 21:29:28 2021 +0200
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
---
libs/vkd3d-shader/d3dbc.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/libs/vkd3d-shader/d3dbc.c b/libs/vkd3d-shader/d3dbc.c index 267f960..c551875 100644 --- a/libs/vkd3d-shader/d3dbc.c +++ b/libs/vkd3d-shader/d3dbc.c @@ -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)