diff options
author | Lionel Landwerlin <[email protected]> | 2019-07-15 15:35:11 +0300 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-07-15 16:47:41 +0300 |
commit | c9c8c2f7d7d83443928717a00c3be8f1f690e6c3 (patch) | |
tree | b2b1fb6fcce6a8ba403c139b75a6b95ec3ef84bf /REVIEWERS | |
parent | b650f3d197bd049c3cf73baab4d0124f1665d724 (diff) |
anv: fix crash in vkCmdClearAttachments with unused attachment
anv_render_pass_compile() turns an unused attachment into a NULL
depth_stencil_attachment pointer so check that pointer before
accessing it.
Found with updates to existing CTS tests.
Signed-off-by: Lionel Landwerlin <[email protected]>
Fixes: 208be8eafa30be ("anv: Make subpass::depth_stencil_attachment a pointer")
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Juan A. Suarez <[email protected]>
Diffstat (limited to 'REVIEWERS')
0 files changed, 0 insertions, 0 deletions