diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2020-06-18 13:40:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 13:40:08 -0700 |
| commit | 82ba914db9c3823ad7a0834d46b7fccedfe0acee (patch) | |
| tree | a2361c042e6a03ff957bd4a921f73efbb89dc1b7 /tests | |
| parent | 8c6e02bd094bbc0c9afb141265be9675f99ddb61 (diff) | |
| parent | 5952e3b3d7f505a7e6d71ecd0793911224f5bac3 (diff) | |
Merge branch 'master' into dyndispatch
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/compute/performance-profile.slang | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/compute/performance-profile.slang b/tests/compute/performance-profile.slang index bf67a4478..22f73e075 100644 --- a/tests/compute/performance-profile.slang +++ b/tests/compute/performance-profile.slang @@ -44,8 +44,9 @@ static void _calc(const RWStructuredBuffer<float>& buf, int start, int end) } SLANG_PRELUDE_EXPORT -void computeMain(ComputeVaryingInput* varyingInput, UniformEntryPointParams* params, LocalUniformState* uniformState) +void computeMain(ComputeVaryingInput* varyingInput, void* inParams, void* inUniformState) { + LocalUniformState* uniformState = (LocalUniformState*)inUniformState; _calc(uniformState->outputBuffer_0, varyingInput->startGroupID.x * 16, varyingInput->endGroupID.x * 16); } |
