diff options
author | Francisco Jerez <[email protected]> | 2015-02-26 17:41:46 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-05-04 15:05:20 +0300 |
commit | 8865fe309da2597398071f5171808c27aac787b4 (patch) | |
tree | 658447c3e7f64d7705d8c3d423147bda3b644f16 /src/mesa/drivers/dri/i965/brw_fs_generator.cpp | |
parent | 0519a6259b0e6b83eaeafdf0ed30a67713c4b6ed (diff) |
i965: Don't request untyped atomic writeback message if the destination is null.
Reviewed-by: Topi Pohjolainen <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_generator.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp index ff7e85fbb71..5b6633a7fa1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_generator.cpp @@ -2018,7 +2018,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width) assert(src[1].file == BRW_IMMEDIATE_VALUE && src[2].file == BRW_IMMEDIATE_VALUE); brw_untyped_atomic(p, dst, src[0], src[2], src[1].dw1.ud, - inst->mlen, true); + inst->mlen, !inst->dst.is_null()); brw_mark_surface_used(prog_data, src[2].dw1.ud); break; |