From 378d98f87e8048664309a66cb93ecf582e40d837 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 11 Feb 2016 12:23:53 -0800 Subject: i965/vec4: Initialize force_writemask_all in vec4_builder(). Reviewed-by: Francisco Jerez --- src/mesa/drivers/dri/i965/brw_vec4_builder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/i965/brw_vec4_builder.h b/src/mesa/drivers/dri/i965/brw_vec4_builder.h index be1427c7db7..5d4b4520322 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_builder.h +++ b/src/mesa/drivers/dri/i965/brw_vec4_builder.h @@ -66,7 +66,8 @@ namespace brw { * instruction passed as argument. */ vec4_builder(backend_shader *shader, bblock_t *block, instruction *inst) : - shader(shader), block(block), cursor(inst) + shader(shader), block(block), cursor(inst), + force_writemask_all(inst->force_writemask_all) { annotation.str = inst->annotation; annotation.ir = inst->ir; -- cgit v1.2.3