diff options
author | Ilia Mirkin <[email protected]> | 2014-02-13 05:10:23 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-02-24 11:09:52 -0800 |
commit | e32e2836a31d68e7664d7e2cfeda0a755c95e07a (patch) | |
tree | 0c6a9e9d766dd4ce076e989952eb735f7ab98991 /include/GL | |
parent | d8012560d5f5ee0cb0c39369790d821bd8b7321b (diff) |
nv50: make sure to clear _all_ layers of all attachments
Unfortunately there's only one RT_ARRAY_MODE setting for all
attachments, so clears were previously truncated to the minimum number
of layers any attachment had. Instead set the RT_ARRAY_MODE to 512 (the
max number of layers) before doing the clear. This fixes
gl-3.2-layered-rendering-clear-color-mismatched-layer-count.
Also fix clears of individual layered rt/zeta, in case it ever happens.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Christoph Bumiller <[email protected]>
Cc: 10.1 <[email protected]>
(cherry picked from commit 6152ba08945a5a0139dd47745962ef66be8b8a70)
Diffstat (limited to 'include/GL')
0 files changed, 0 insertions, 0 deletions