File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
engine/src/flutter/impeller/renderer/backend/vulkan Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,18 @@ void ContextVK::Setup(Settings settings) {
205
205
}
206
206
207
207
vk::ApplicationInfo application_info;
208
- application_info.setApplicationVersion (VK_API_VERSION_1_0);
208
+
209
+ // Use the same encoding macro as vulkan versions, but otherwise application
210
+ // version is intended to be the version of the Impeller engine. This version
211
+ // information, along with the application name below is provided to allow
212
+ // IHVs to make optimizations and/or disable functionality based on knowledge
213
+ // of the engine version (for example, to work around bugs). We don't tie this
214
+ // to the overall Flutter version as that version is not yet defined when the
215
+ // engine is compiled. Instead we can manually bump it occassionally.
216
+ //
217
+ // variant, major, minor, patch
218
+ application_info.setApplicationVersion (
219
+ VK_MAKE_API_VERSION (0 , 2 , 0 , 0 ) /* version 2.0.0*/ );
209
220
application_info.setApiVersion (VK_API_VERSION_1_1);
210
221
application_info.setEngineVersion (VK_API_VERSION_1_0);
211
222
application_info.setPEngineName (" Impeller" );
You can’t perform that action at this time.
0 commit comments