freedreno/ir3: Add missing braces in initializer
authorfrancians@gmail.com <francians@gmail.com>
Wed, 20 Jul 2016 07:49:34 +0000 (09:49 +0200)
committerRob Clark <robdclark@gmail.com>
Sat, 23 Jul 2016 13:14:55 +0000 (09:14 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_shader.c

index 9f39f9fe95c4a8ad73821fa7b442cf4b1fff6dc5..5d57c0b69fa062c8f9fbe0d3d21f10b7d239576b 100644 (file)
@@ -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;