Skip to content

Commit e6e498f

Browse files
First commit
0 parents  commit e6e498f

File tree

157 files changed

+24645
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+24645
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build/
2+
doc/html/*

LICENSE.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Vulkan Memory Allocator
2+
3+
This is a README file for Vulkan Memory Allocator library and accompanying sample application.
4+
5+
**License:** MIT. See `LICENSE.txt`.
6+
7+
**Documentation:** Doxygen-style comments in `src/vk_mem_alloc.h`.

bin/Shader.frag.spv

832 Bytes
Binary file not shown.

bin/Shader.vert.spv

1.44 KB
Binary file not shown.

bin/VulkanSample_Release_2015.exe

86 KB
Binary file not shown.

media/Thumbnail.png

21.5 KB
Loading

premake/premake5.lua

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
-- _ACTION is a premake global variable and for our usage will be vs2012, vs2013, etc.
2+
-- Strip "vs" from this string to make a suffix for solution and project files.
3+
_SUFFIX = string.gsub(_ACTION, "vs", "")
4+
5+
workspace "VulkanSample"
6+
configurations { "Debug", "Release" }
7+
platforms { "x64" }
8+
location "../build"
9+
filename ("VulkanSample_" .. _SUFFIX)
10+
startproject "VulkanSample"
11+
12+
filter "platforms:x64"
13+
system "Windows"
14+
architecture "x64"
15+
includedirs { "../third_party/mathfu-1.1.0/include" }
16+
libdirs { "$(VULKAN_SDK)\\Bin" }
17+
18+
project "VulkanSample"
19+
kind "ConsoleApp"
20+
language "C++"
21+
location "../build"
22+
filename ("VulkanSample_" .. _SUFFIX)
23+
targetdir "../bin"
24+
objdir "../build/Desktop_%{_SUFFIX}/%{cfg.platform}/%{cfg.buildcfg}"
25+
floatingpoint "Fast"
26+
files { "../src/*.h", "../src/*.cpp" }
27+
links { "vulkan-1" }
28+
flags { "NoPCH", "FatalWarnings" }
29+
characterset "Unicode"
30+
defines { "WIN32", "_CONSOLE", "PROFILE", "_WINDOWS", "_WIN32_WINNT=0x0601" }
31+
32+
filter "configurations:Debug"
33+
defines { "_DEBUG", "DEBUG" }
34+
flags { }
35+
targetsuffix ("_Debug_" .. _SUFFIX)
36+
buildoptions { "/MDd" }
37+
38+
filter "configurations:Release"
39+
defines { "NDEBUG" }
40+
optimize "On"
41+
flags { "LinkTimeOptimization" }
42+
targetsuffix ("_Release_" .. _SUFFIX)
43+
buildoptions { "/MD" }

0 commit comments

Comments
 (0)