mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader: Silence a spurious -Wmaybe-uninitialized in vsir_program_insert_alpha_test().
This commit is contained in:
parent
683e11aece
commit
0dc07f5cce
Notes:
Henri Verbeet
2024-11-14 14:23:37 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1264
@ -5985,9 +5985,9 @@ static enum vkd3d_result vsir_program_insert_alpha_test(struct vsir_program *pro
|
|||||||
{
|
{
|
||||||
struct vkd3d_shader_message_context *message_context = ctx->message_context;
|
struct vkd3d_shader_message_context *message_context = ctx->message_context;
|
||||||
const struct vkd3d_shader_parameter1 *func = NULL, *ref = NULL;
|
const struct vkd3d_shader_parameter1 *func = NULL, *ref = NULL;
|
||||||
|
uint32_t colour_signature_idx, colour_temp = ~0u;
|
||||||
static const struct vkd3d_shader_location no_loc;
|
static const struct vkd3d_shader_location no_loc;
|
||||||
enum vkd3d_shader_comparison_func compare_func;
|
enum vkd3d_shader_comparison_func compare_func;
|
||||||
uint32_t colour_signature_idx, colour_temp;
|
|
||||||
struct vkd3d_shader_instruction *ins;
|
struct vkd3d_shader_instruction *ins;
|
||||||
size_t new_pos;
|
size_t new_pos;
|
||||||
int ret;
|
int ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user