From 9553fd2c97bda18b997845610be365d6adf0fd4c Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 28 Mar 2016 15:39:17 -0700 Subject: [PATCH] anv/blit2d: Fix a NIR writemask Reviewed-by: Nanley Chery --- src/intel/vulkan/anv_meta_blit2d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2