diff options
author | Chris Forbes <[email protected]> | 2014-05-08 16:02:16 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-05-09 09:46:19 +1200 |
commit | dd43900b7bb3bec0b136bb244a04841123575467 (patch) | |
tree | 00afb61f1c1f35cfb5c5bdb29dc6be64dfc064b0 /.gitattributes | |
parent | cc8c00da885ba1446e73b77d9171965d1299ad37 (diff) |
i965/Gen7: Set up layer constraints properly for renderbuffers
There were a few problems here, which mostly just broke layered
rendering into a view:
- Render target view extent was always set to be == depth. This is
benign for non-layered-rendering, but allows writes off the end of the
render target for layered rendering, which ends badly.
- Layered rendering did not honor the mt_layer setting, so would not
properly handle MinLayer being set on a view.
V2: Restore the MAX2() to account for zero depth/layer_count.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions