diff options
author | Kenneth Graunke <[email protected]> | 2014-06-10 18:50:03 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-12 00:56:08 -0700 |
commit | a2ad771671d94feae16b35c26ed4d1907f74f50e (patch) | |
tree | 55ebc86e71a1d1cea522c0be2e6b1f6cf6478d1b /src/mesa/main/shaderapi.c | |
parent | be5e5b6c9364fcac8f26bc2875ffcfbaa4e17b45 (diff) |
i965: Fix Haswell discard regressions since Gen4-5 line AA fix.
In commit dc2d3a7f5c217a7cee92380fbf503924a9591bea, Iago accidentally
moved fire_fb_write() above the brw_pop_insn_state(), which caused the
SEND to lose its predication and change from WE_normal to WE_all.
Haswell uses predicated SENDs for discards, so this broke Piglit's
tests for discards.
We want the Gen4-5 MOV to be uncompressed, unpredicated, and unmasked,
but the actual FB write itself should respect those. So, pop state
first, and force it again around the single MOV.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79903
Diffstat (limited to 'src/mesa/main/shaderapi.c')
0 files changed, 0 insertions, 0 deletions