diff options
author | Francisco Jerez <[email protected]> | 2015-07-13 17:59:34 +0300 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-07-29 14:12:47 +0300 |
commit | 59e7e6f7a21f13ff8963cf21af2e969f1f7961f5 (patch) | |
tree | 2078698fb6999af893eafe7e16224d39d6b21b81 /src/mesa/drivers/dri/i965/brw_shader.cpp | |
parent | 633938afd349f2b423146969688c11f1e29ca17a (diff) |
i965/fs: Implement lowering of logical framebuffer writes.
This does essentially the same thing as
fs_visitor::emit_single_fb_write(), with some slight differences:
- We don't have to worry about exec_size and use_2nd_half anymore,
16-wide sources have already been lowered to 8-wide thanks to the
previous commit and the manual argument unzipping is no longer
required.
- The src/dst_depth and sample_mask values are now explicit sources
of the instruction instead of being taken from the visitor state
directly. The same goes for the kill-pixel mask that will be
passed to the instruction explicitly as predicate.
- Everything is now done in static functions to improve
encapsulation.
Reviewed-by: Jason Ekstrand <[email protected]>
Acked-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.cpp')
0 files changed, 0 insertions, 0 deletions