diff options
author | Francisco Jerez <[email protected]> | 2015-06-03 21:07:52 +0300 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-06-09 15:18:33 +0300 |
commit | e32c16c47f7a3cf25e2b4d2f3b97d0f8f89669c0 (patch) | |
tree | 7b9bb487c8eb9eaf37a9fe5cc0efb03c960d03b5 /src/mesa/drivers/dri/radeon | |
parent | 840cbef416b47fa1a92d6491cdd2895442f063bc (diff) |
i965/fs: Migrate FS framebuffer writes to the IR builder.
The explicit call to fs_builder::group() in emit_single_fb_write() is
required by the builder (otherwise the assertion in fs_builder::emit()
would fail) because the subsequent LOAD_PAYLOAD and FB_WRITE
instructions are in some cases emitted with a non-native execution
width. The previous code would always use the channel enables for the
first quarter, which is dubious but probably worked in practice
because FB writes are never emitted inside non-uniform control flow
and we don't pass the kill-pixel mask via predication in the cases
where we have to fall-back to SIMD8 writes.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
0 files changed, 0 insertions, 0 deletions