From 7e952cde57719169bd8384427842cba033c9f80c Mon Sep 17 00:00:00 2001 From: Dietrich Geisler Date: Fri, 24 Jul 2020 01:50:53 -0400 Subject: CPU/GPU Compute Shader Example (#1451) * CPU/GPU Compute Shader Example This PR introduces an example to run a simple compute shader on the GPU in the heterogeneous-hello-world example. All loading code is currently run in C++, so the heterogeneity of this example is still a work in progress. This change updates exactly this example, and so should not cause issues elsewhere in the codebase. * Small fix * Added gfx to help the linker * Added back the struct * Updated premake to respect windows conditions * Completely removed het-example * Re-added example Co-authored-by: Tim Foley --- premake5.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'premake5.lua') diff --git a/premake5.lua b/premake5.lua index 0b4f4bd42..869ce0532 100644 --- a/premake5.lua +++ b/premake5.lua @@ -520,6 +520,9 @@ if isTargetWindows then -- Let's go ahead and set up the projects for our other example now. example "model-viewer" + example "heterogeneous-hello-world" + kind "ConsoleApp" + example "gpu-printing" kind "ConsoleApp" end @@ -527,9 +530,6 @@ end example "cpu-hello-world" kind "ConsoleApp" -example "heterogeneous-hello-world" - kind "ConsoleApp" - -- Most of the other projects have more interesting configuration going -- on, so let's walk through them in order of increasing complexity. -- -- cgit v1.2.3