OSDN Git Service

Vulkan API (GetProcAddr only)
authorAlexis Hetu <sugoi@google.com>
Fri, 21 Sep 2018 19:14:43 +0000 (15:14 -0400)
committerAlexis Hétu <sugoi@google.com>
Wed, 26 Sep 2018 14:00:27 +0000 (14:00 +0000)
commitd73b871379e066a4e3fc296885dc96bdf2e75ac2
treed6f502ccb30dfb89d0eefbf18843caba298ca62f
parent6aad6a769d20eb0f2102c7786e2c80fac4a842fc
Vulkan API (GetProcAddr only)

This patch contains an empty Vulkan shell with only GetProcAddr implemented

Initial version of the VulkanAPI, empty and unimplemented.
Successfully builds vk_swiftshader.dll for all platforms/configuration in Visual Studio.

To test using dEQP:
- Edit environment variables
- Define VK_ICD_FILENAMES to <SwiftShader's source directory>\src\Vulkan\vk_swiftshader_icd.json
- If the location of vk_swiftshader.dll you're using is different than the one specified in
  src\Vulkan\vk_swiftshader_icd.json, modify it to point to the vk_swiftshader.dll file you want to use

Bug b/116336664

Change-Id: I560b53c3e4340b9c5ccd244a6693ff2f9f994a6f
Reviewed-on: https://swiftshader-review.googlesource.com/20788
Reviewed-by: Alexis Hétu <sugoi@google.com>
Tested-by: Alexis Hétu <sugoi@google.com>
13 files changed:
SwiftShader.sln
src/Vulkan/VkDebug.cpp [new file with mode: 0644]
src/Vulkan/VkDebug.hpp [new file with mode: 0644]
src/Vulkan/VkGetProcAddress.cpp [new file with mode: 0644]
src/Vulkan/VkGetProcAddress.h [new file with mode: 0644]
src/Vulkan/VkPromotedExtensions.cpp [new file with mode: 0644]
src/Vulkan/libVulkan.cpp [new file with mode: 0644]
src/Vulkan/main.cpp [new file with mode: 0644]
src/Vulkan/resource.h [new file with mode: 0644]
src/Vulkan/swiftshader_icd.def [new file with mode: 0644]
src/Vulkan/vk_swiftshader_icd.json [new file with mode: 0644]
src/Vulkan/vulkan.vcxproj [new file with mode: 0644]
src/Vulkan/vulkan.vcxproj.filters [new file with mode: 0644]