File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,6 +182,13 @@ std::string vkVpa15GetSupport() {
182182 VP_ANDROID_15_MINIMUMS_MIN_API_VERSION);
183183}
184184
185+ std::string vkVpa16GetSupport () {
186+ VpProfileProperties profile{VP_ANDROID_16_MINIMUMS_NAME,
187+ VP_ANDROID_16_MINIMUMS_SPEC_VERSION};
188+ return vkProfileGetSupport (&profile,
189+ VP_ANDROID_16_MINIMUMS_MIN_API_VERSION);
190+ }
191+
185192std::string vkProfiles () {
186193 return " {"
187194 " \" " + std::string (VP_ANDROID_BASELINE_2021_NAME) + " \" : "
@@ -191,7 +198,9 @@ std::string vkProfiles() {
191198 " \" " + std::string (VP_ANDROID_BASELINE_2022_NAME) + " \" : "
192199 " \" " + vkAbp2022GetSupport () + " \" ,"
193200 " \" " + std::string (VP_ANDROID_15_MINIMUMS_NAME) + " \" : "
194- " \" " + vkVpa15GetSupport () + " \" "
201+ " \" " + vkVpa15GetSupport () + " \" ,"
202+ " \" " + std::string (VP_ANDROID_16_MINIMUMS_NAME) + " \" : "
203+ " \" " + vkVpa16GetSupport () + " \" "
195204 " }" ;
196205}
197206
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ std::string vkAbp2021GetSupport();
3232std::string vkAbp2021GetSupportCpuOnly ();
3333std::string vkAbp2022GetSupport ();
3434std::string vkVpa15GetSupport ();
35+ std::string vkVpa16GetSupport ();
3536
3637// Returns a json string that enumerates support for any of the Vulkan profiles
3738// specified in the above functions
You can’t perform that action at this time.
0 commit comments