summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-03-28 15:39:17 -0700
committerJason Ekstrand <[email protected]>2016-04-08 15:57:32 -0700
commit9553fd2c97bda18b997845610be365d6adf0fd4c (patch)
treee330fefed6a01e0cedd616231153b95d9af2060a /src/intel
parentb38a0d64ba2274c3d48b731e86a7bbb04fca81c8 (diff)
anv/blit2d: Fix a NIR writemask
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_meta_blit2d.c2
1 files changed, 1 insertions, 1 deletions
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;
}