aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3
diff options
context:
space:
mode:
author[email protected] <[email protected]>2016-07-20 09:49:34 +0200
committerRob Clark <[email protected]>2016-07-23 09:14:55 -0400
commitabb2a865a49b0a4c3d2c0a4a0024d72784393188 (patch)
treef0d84eb4ef354ae1d5a077d8ebc001f61be7ece0 /src/gallium/drivers/freedreno/ir3
parentc99cdd21756161eb26b703af983370b905df2c6a (diff)
freedreno/ir3: Add missing braces in initializer
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_shader.c2
1 files changed, 1 insertions, 1 deletions
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;