i965/vec4: Initialize force_writemask_all in vec4_builder().
authorMatt Turner <mattst88@gmail.com>
Thu, 11 Feb 2016 20:23:53 +0000 (12:23 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 17 Feb 2016 20:35:27 +0000 (12:35 -0800)
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_vec4_builder.h

index be1427c7db7dfa2e36b35c969f43e2dd4cb11334..5d4b452032266038553156c41bc520970dca76f4 100644 (file)
@@ -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;