diff options
author | Francisco Jerez <[email protected]> | 2017-01-13 14:01:45 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-05-29 15:44:50 -0700 |
commit | 4bd2047deea31e877ae023a3845f925aab69cdc7 (patch) | |
tree | 2712d1885b93f5220a5cf6b54c6f766fd8b558ad /src/intel/compiler/brw_fs.cpp | |
parent | d3cd6b7215c11054b587fb0fd621c53c6d62c64b (diff) |
intel/fs: Add explicit last_rt flag to fb writes orthogonal to eot.
When using multiple RT write messages to the same RT such as for
dual-source blending or all RT writes in SIMD32, we have to set the
"Last Render Target Select" bit on all write messages that target the
last RT but only set EOT on the last RT write in the shader.
Special-casing for dual-source blend works today because that is the
only case which requires multiple RT write messages per RT. When we
start doing SIMD32, this will become much more common so we add a
dedicated bit for it.
Reviewed-by: Jason Ekstrand <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 8d9278684fd..d67c0a41922 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -3246,6 +3246,7 @@ fs_visitor::emit_repclear_shader() } } write->eot = true; + write->last_rt = true; calculate_cfg(); |