diff options
author | Dave Airlie <[email protected]> | 2016-08-16 10:00:28 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-08-16 10:29:44 +1000 |
commit | c2f225203721681fe964cb6f1f4fec317260a91e (patch) | |
tree | eecd9cdbb141635d5987e133a5732168417e989c /src/intel | |
parent | c0580f6a3859ec373ed11b3a6266c9b94d01a343 (diff) |
anv: fix writemask on blit fragment shader.
I'm not sure if anything even uses this, but I found this on radv, so
just fix it on anv for consistency.
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: [email protected]
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/intel')
-rw-r--r-- | src/intel/vulkan/anv_meta_blit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_meta_blit.c b/src/intel/vulkan/anv_meta_blit.c index e8b244bcab7..d2e375aaf99 100644 --- a/src/intel/vulkan/anv_meta_blit.c +++ b/src/intel/vulkan/anv_meta_blit.c @@ -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; } |