anv/blit2d: Fix a NIR writemask
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 28 Mar 2016 22:39:17 +0000 (15:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Fri, 8 Apr 2016 22:57:32 +0000 (15:57 -0700)
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
src/intel/vulkan/anv_meta_blit2d.c

index 10e9ba3befd2a577871f6193ae3de1b1f4ae23a9..144a62481b8a5140a4ceb1bfe79b955899cbfcc0 100644 (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;
 }