aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_generator.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_generator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
index de7e06c7617..b847254f3dc 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
@@ -1472,7 +1472,8 @@ vec4_generator::generate_code(const cfg_t *cfg)
assert(src[0].file == BRW_IMMEDIATE_VALUE &&
src[1].file == BRW_IMMEDIATE_VALUE);
brw_untyped_atomic(p, dst, brw_message_reg(inst->base_mrf),
- src[1], src[0].dw1.ud, inst->mlen, true);
+ src[1], src[0].dw1.ud, inst->mlen,
+ !inst->dst.is_null());
brw_mark_surface_used(&prog_data->base, src[1].dw1.ud);
break;