Skip to content

Commit

Permalink
anv: Advertise Vulkan 1.3 for Android
Browse files Browse the repository at this point in the history
Expose vulkan version 1.3 instead of 1.1 in driver,
with framework for S still support 1.1 at most.

Tracked-On: OAM-112282
Signed-off-by: Ren Chenglei <[email protected]>
  • Loading branch information
renchenglei authored and sysopenci committed Sep 18, 2023
1 parent 2dd67c7 commit 6de6828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intel/vulkan/anv_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ compiler_perf_log(UNUSED void *data, UNUSED unsigned *id, const char *fmt, ...)
#endif

#ifdef ANDROID
#define ANV_API_VERSION VK_MAKE_VERSION(1, 1, VK_HEADER_VERSION)
#define ANV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
#else
#define ANV_API_VERSION VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION)
#endif
Expand Down

0 comments on commit 6de6828

Please sign in to comment.