From: Jason Ekstrand Date: Mon, 28 Mar 2016 22:39:17 +0000 (-0700) Subject: anv/blit2d: Fix a NIR writemask X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9553fd2c97bda18b997845610be365d6adf0fd4c;p=mesa.git anv/blit2d: Fix a NIR writemask Reviewed-by: Nanley Chery --- diff --git a/src/intel/vulkan/anv_meta_blit2d.c b/src/intel/vulkan/anv_meta_blit2d.c index 10e9ba3befd..144a62481b8 100644 --- a/src/intel/vulkan/anv_meta_blit2d.c +++ b/src/intel/vulkan/anv_meta_blit2d.c @@ -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; }