• Chris Blume's avatar
    Use macros for Vulkan functions · f0fb42f5
    Chris Blume authored
    Currently, users of Vulkan need to get the global function pointer
    class. And calls into those functions look like:
    vulkan_function_pointers->vkCreateDevice();
    
    Our OpenGL code hides that behind macros. This patch adds macros to
    mimic the OpenGL code in Chrome.
    
    Now that looks like:
    vkCreateDevice();
    
    BUG=856360,848101
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: If3aff1719b366748b9236a9e4c9e7ec69260be18
    Reviewed-on: https://chromium-review.googlesource.com/1116195
    Commit-Queue: Chris Blume <cblume@chromium.org>
    Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#571226}
    f0fb42f5
vulkan_descriptor_layout.cc 1.59 KB