anv: fix writemask on blit fragment shader.
[mesa.git] / src / intel / vulkan / anv_meta_blit.c
index e8b244bcab78896d70f9c1f8df5ba9d10b6abd68..d2e375aaf998eaa011660c75112ec87e5909e7ab 100644 (file)
@@ -106,7 +106,7 @@ build_nir_copy_fragment_shader(enum glsl_sampler_dim tex_dim)
    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;
 }