diff options
| author | Dietrich Geisler <dag368@cornell.edu> | 2020-12-18 10:10:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-18 09:10:10 -0800 |
| commit | f5fffa90e936ab462b3842f9b2cfa996ae870fe4 (patch) | |
| tree | 4c199062c18975d6de680c1b69fba9e149ca27e7 /examples | |
| parent | 0fa3bcffc7065927b18d1da2de722d1cb1b53ebf (diff) | |
Heterogeneous Flag Error Visibility (#1642)
* PR to fix issue #1638. This change introduces a diagnostic sink to the
emitModule function, and updates all associated calls to that function.
Additionally, this commit updates the heterogeneous hello world example
to not need the entry and stage flags for simplicity.
* Updated emit-cpp per suggested changes
Co-authored-by: Tim Foley <tfoleyNV@users.noreply.github.com>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/heterogeneous-hello-world/shader.slang | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/heterogeneous-hello-world/shader.slang b/examples/heterogeneous-hello-world/shader.slang index ec3831788..47c883b39 100644 --- a/examples/heterogeneous-hello-world/shader.slang +++ b/examples/heterogeneous-hello-world/shader.slang @@ -3,6 +3,7 @@ //TEST_INPUT:ubuffer(random(float, 4096, -1.0, 1.0), stride=4):name=ioBuffer RWStructuredBuffer<float> convertBuffer(Ptr<gfx::BufferResource> x); +[shader("compute")] [numthreads(4, 1, 1)] void computeMain(uniform RWStructuredBuffer<float> ioBuffer, uint3 dispatchThreadID : SV_DispatchThreadID) { |
