summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-03-04 15:12:40 -0800
committerEric Anholt <[email protected]>2014-03-05 13:37:33 -0800
commit171ec9585f214c2dff3cfc97acebf5286bb5001d (patch)
treefc01dd218467da96f8ae6da35ea6cf84f5e6c4b5 /src/mesa/state_tracker/st_atom.h
parent9856d658ced3382060f4d805f3e4fbdc2b618e64 (diff)
i965: Fix predicated-send-based discards with MRT.
We need the header setup to not be predicated on which pixels are undiscarded. I'm not sure originally if I had thought that the mask disable implied predicate disable, or if I had just misread the mask disable as predicate disable. Either way, I know I had spent more time thinking about this in the gen8 generator than the gen7 generator. Plus, it turns out that I had mis-implemented the "the GPU will use the predicate unless this header is present" comment, by skipping setting up the pixel mask when the header was present. Fixes GPU hangs in piglit glsl-fs-discard-mrt, Trine, Trine 2 and preusmably MLL. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75207 Tested-by: Tapani Pälli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom.h')
0 files changed, 0 insertions, 0 deletions