wined3d: Fill whole structure in find_ds_compile_args().

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2017-05-17 15:42:33 +02:00 committed by Alexandre Julliard
parent f6cbdd8a4c
commit ab27a5902d
2 changed files with 3 additions and 0 deletions

View File

@ -3523,6 +3523,8 @@ void find_ds_compile_args(const struct wined3d_state *state, const struct wined3
: WINED3D_SHADER_TYPE_PIXEL;
args->render_offscreen = context->render_offscreen;
args->padding = 0;
}
void find_gs_compile_args(const struct wined3d_state *state, const struct wined3d_shader *shader,

View File

@ -1336,6 +1336,7 @@ struct ds_compile_args
unsigned int output_count : 16;
unsigned int next_shader_type : 3;
unsigned int render_offscreen : 1;
unsigned int padding : 12;
};
struct gs_compile_args