Vulkan -- lonarG SDK配置安装

Vulkan -- lonarG SDK安装

1.说明

截止2016年初,Vulkan已经发布了1.0版本,

可以从khronos组织获取最新信息:https://www.khronos.org/


2.下载

LunarG SDK 下载地址:https://vulkan.lunarg.com/app/download(推荐,有英文手册)

百度云地址:http://pan.baidu.com/s/1mgYyo6O (可能失效,版本:1.0.3.1)


3.系统要求

Win 7以上(64位)(32位也支持,不过是Alpha form)

显卡和驱动需要支持Vulkan

驱动及显卡查询:

总地址:https://www.khronos.org/vulkan/(可以下载相关显卡测试Demos)

AMD :Radeon HD7700及以上(截至:2016年初的情况)
NVIDIA: GeForce 600 Series及以上(截至:2016年初的情况)
Intel:Skylake(截至:2016年初的情况)
8GB内存
300MB磁盘空间
Demos编译运行要求:Vs2013 Update 4
        Building Samples 的要求:Cmake 3.0及以上,VS 2013 Update 4
VS2015请看文首提供的地址中的手册说明.


4.安装SDK及环境配置

     运行下载文件中的.exe文件,安装目录假设为默认:C:\VulkanSDK\version (version根据版本不同,这里是1.0.3)

  系统环境变量设置:"我的电脑"右键"属性","查看有关计算机的基本信息"框中选"更改设置","高级"栏,选"环境变量"

  "系统变量":

1.选择"新建":"变量名":VK_SDK_PATH ,变量值为安装路径,例如默认:C:\VulkanSDK\1.0.3

2.找到变量"PATH","编辑",在其变量值末尾加入";$VK_SDK_PATH\Bin"


5.SDK包含内容


DirectoryDescription
Bin64-bit Release build of executables and loader, layer, and tools libraries. NOTE: This folder is not present on 32-bit Windows installs
Bin3232-bit Release build of executables and loader, layer, and tools libraries
ConfigSample layer settings file
DemosSource and MS Visual Studio project files for the cube, tri, and vulkaninfo programs
DocRelease Notes, Getting Starting Guide, and other documentation
glslangSource and header files for glslang, used by the programs in Samples
IncludeHeader files required to compile your Vulkan applications
RunTimeInstallerThe Vulkan Run Time Installer; this installer can be included by a Vulkan Application or Driver Installer to install the Vulkan Run Time libraries during an application/driver install, see the README.txt file for more information.
SamplesA collection of Vulkan C++ samples
Source\layersSource code for the debug layers libraries; enables source level debugging of layers
Source\lib64-bit Pre-built debug libraries for selected Vulkan components; used by Demos Debug build. NOTE: This folder is not present on 32-bit Windows installs
Source\lib3232-bit Pre-built debug libraries for selected Vulkan components; used by Demos Debug build
Source\loaderSource code for the debug loader library (vulkan-1.dll); enables source level debugging of the loader
spirv-toolsSource and header files for spirv-tools, used by the programs in Samples



6.验证

运行Vulkaninfo(路径:开始菜单->Vulkan->Demos->vulkaninfo)

输出:

Instance Extensions     count = 2
        DEBUG_REPORT                    : extension revision  1
        VK_EXT_KHR_swapchain            : extension revision 17
Instance Layers count = 11
        VK_LAYER_LUNARG_object_tracker (LunarG Validation Layer) Vulkan version 1.0.0, layer version 1.0.0
        ObjectTracker Extensions        count = 0

        VK_LAYER_LUNARG_api_dump (LunarG debug layer) Vulkan version 1.0.0, layer version 1.0.0
        VK_LAYER_LUNARG_api_dump Extensions      count = 0
...
Device Extensions and layers:
=============================
GPU0
VkPhysicalDeviceProperties:
===========================
        apiVersion     = 696322
        driverVersion  = 1
        vendorId       = 0x10de
        deviceId       = 0x1183
        deviceType     = DISCRETE_GPU
        deviceName     = GTX 660 Ti
        VkPhysicalDeviceLimits:
        -----------------------
                maxImageDimension1D                     = 0x4000
                maxImageDimension2D                     = 0x4000
...
Device Extensions       count = 1
        VK_EXT_KHR_device_swapchain     : extension revision 53
...

7.Demos测试

<InstallPath>\Demos\DEMOS.sln

更多内容请看文首提供的英文网站的手册.




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值