From abb2a865a49b0a4c3d2c0a4a0024d72784393188 Mon Sep 17 00:00:00 2001 From: "francians@gmail.com" Date: Wed, 20 Jul 2016 09:49:34 +0200 Subject: [PATCH] freedreno/ir3: Add missing braces in initializer Signed-off-by: Rob Clark --- src/gallium/drivers/freedreno/ir3/ir3_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/freedreno/ir3/ir3_shader.c b/src/gallium/drivers/freedreno/ir3/ir3_shader.c index 9f39f9fe95c..5d57c0b69fa 100644 --- a/src/gallium/drivers/freedreno/ir3/ir3_shader.c +++ b/src/gallium/drivers/freedreno/ir3/ir3_shader.c @@ -309,7 +309,7 @@ ir3_shader_create(struct ir3_compiler *compiler, * (as otherwise nothing will trigger the shader to be * actually compiled) */ - static struct ir3_shader_key key = {0}; + static struct ir3_shader_key key = {{0}}; ir3_shader_variant(shader, key, debug); } return shader; -- 2.30.2