Skip to content

Commit 852412f

Browse files
authored
Merge pull request #167 from gboisse/master
Faster BVH
2 parents e2e4943 + ffe35a2 commit 852412f

19 files changed

+4923
-233
lines changed

Calc/Calc.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ project "Calc"
3030
includedirs { ".", "./inc", "../CLW" }
3131
files { "../Calc/**.h", "../Calc/**.cpp"}
3232

33-
links {"CLW"}
33+
if _OPTIONS["use_opencl"] then
34+
links {"CLW"}
35+
end
3436

3537
configuration {"x32", "Debug"}
3638
targetdir "../../Bin/Debug/x86"

RadeonRays/RadeonRays.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ project "RadeonRays"
7171

7272
if _OPTIONS["use_vulkan"] then
7373
os.execute( "python ../Tools/scripts/stringify.py " ..
74-
os.getcwd() .. "../RadeonRays/src/kernels/GLSL/ " ..
74+
os.getcwd() .. "./../RadeonRays/src/kernels/GLSL/ " ..
7575
".comp " ..
7676
"vulkan " ..
7777
"> ./src/kernelcache/kernels_vk.h"
@@ -128,9 +128,9 @@ project "RadeonRays"
128128
end
129129
if vulkanSDKPath ~= nil then
130130
configuration {"x32"}
131-
libdirs { vulkanSDKPath .. "/Bin32" }
131+
libdirs { vulkanSDKPath .. "/Lib32" }
132132
configuration {"x64"}
133-
libdirs { vulkanSDKPath .. "/Bin" }
133+
libdirs { vulkanSDKPath .. "/Lib" }
134134
configuration {}
135135
end
136136
if os.is("macosx") then

0 commit comments

Comments
 (0)