diff options
author | Ilia Mirkin <[email protected]> | 2014-02-13 05:10:23 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-02-22 18:42:31 -0500 |
commit | 6152ba08945a5a0139dd47745962ef66be8b8a70 (patch) | |
tree | 00a94fa38bc1e1ddf40c607fe99e2885faa93632 /src/gallium/drivers/svga/include | |
parent | d5cbd73d210d73b39c1b94f58c203053be2e4128 (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]>
Diffstat (limited to 'src/gallium/drivers/svga/include')
0 files changed, 0 insertions, 0 deletions