diff options
| author | Dietrich Geisler <dag368@cornell.edu> | 2020-07-24 01:50:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 22:50:53 -0700 |
| commit | 7e952cde57719169bd8384427842cba033c9f80c (patch) | |
| tree | fa50d6c0fdea37e6b3538af57b0f11274d87d0b9 /premake5.lua | |
| parent | 61be38f39cc96ad9644f17f6ab8d262875e99e9e (diff) | |
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 <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 6 |
1 files changed, 3 insertions, 3 deletions
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. -- |
