freedreno/ir3: Add missing braces in initializer

Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
francians@gmail.com 2016-07-20 09:49:34 +02:00 committed by Rob Clark
parent c99cdd2175
commit abb2a865a4

View 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;