diff options
| author | 2016-02-12 07:53:12 -0700 | |
|---|---|---|
| committer | 2016-02-12 11:39:42 -0700 | |
| commit | 1208622fe6c70c23ab1a06ef1a49cfece08bc1da (patch) | |
| tree | cbc94a38b91631b077fb21e0ab490c12da1dd4fe /libs/gui/ConsumerBase.cpp | |
| parent | c2a770925da019a82e23aacacf12be3bfe691766 (diff) | |
loader: Add extension before CreateInstance chain
A developer can cause the loader to enable VK_EXT_debug_report
extension by setting a specific property. However, that check
was happening after the instance chain was called and thus
no layers saw the extension enabled.
Also fix use of AddExtensionToCreateInfo to always allocate
and insert VK_EXT_debug_report. Otherwise cannot distinguish
between the failure case and the extension is already present
case.
Change-Id: Id64bb14cb2086e94190625b4364329d634afda70
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions