anv/blit2d: Fix a NIR writemask

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
This commit is contained in:
Jason Ekstrand 2016-03-28 15:39:17 -07:00
parent b38a0d64ba
commit 9553fd2c97

View file

@ -431,7 +431,7 @@ build_nir_copy_fragment_shader()
nir_variable *color_out = nir_variable_create(b.shader, nir_var_shader_out,
vec4, "f_color");
color_out->data.location = FRAG_RESULT_DATA0;
nir_store_var(&b, color_out, &tex->dest.ssa, 4);
nir_store_var(&b, color_out, &tex->dest.ssa, 0xf);
return b.shader;
}