diff options
author | Lionel Landwerlin <[email protected]> | 2018-04-12 11:06:47 -0700 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2018-04-13 11:44:53 -0700 |
commit | 0a6547014fbe5371f5b7253f2c2640ad0026b184 (patch) | |
tree | 79fcf0bafcd269c396a59b2867b127bcd3a82c1b /src/mesa/main/teximage.c | |
parent | 6ff0c6f4ebcb87ea6c6fe5a4ba90b548f666067d (diff) |
anv: fix number of planes for depth & stencil
We're not counting correctly with depth & stencil images.
Additionally we need to move an assert that is meant just for color
attachments.
v2: Move an assert() (Reported by Craig)
Change aspect mask checks (Francesco)
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: a62a97933578a ("anv: enable multiple planes per image/imageView")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105994
Reviewed-by: Nanley Chery <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions