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 /prelude/slang-cpp-types.h | |
| parent | 8c6e02bd094bbc0c9afb141265be9675f99ddb61 (diff) | |
| parent | 5952e3b3d7f505a7e6d71ecd0793911224f5bac3 (diff) | |
Merge branch 'master' into dyndispatch
Diffstat (limited to 'prelude/slang-cpp-types.h')
| -rw-r--r-- | prelude/slang-cpp-types.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/prelude/slang-cpp-types.h b/prelude/slang-cpp-types.h index 311fa667d..7e951fd63 100644 --- a/prelude/slang-cpp-types.h +++ b/prelude/slang-cpp-types.h @@ -822,14 +822,11 @@ struct ComputeVaryingInput uint3 endGroupID; ///< Non inclusive end groupID }; -/* Type that defines the uniform entry point params. The actual content of this type is dependent on the entry point parameters, and can be -found via reflection or defined such that it matches the shader appropriately. -*/ -struct UniformEntryPointParams; -struct UniformState; +// The uniformEntryPointParams and uniformState must be set to structures that match layout that the kernel expects. +// This can be determined via reflection for example. -typedef void(*ComputeThreadFunc)(ComputeThreadVaryingInput* varyingInput, UniformEntryPointParams* uniformEntryPointParams, UniformState* uniformState); -typedef void(*ComputeFunc)(ComputeVaryingInput* varyingInput, UniformEntryPointParams* uniformEntryPointParams, UniformState* uniformState); +typedef void(*ComputeThreadFunc)(ComputeThreadVaryingInput* varyingInput, void* uniformEntryPointParams, void* uniformState); +typedef void(*ComputeFunc)(ComputeVaryingInput* varyingInput, void* uniformEntryPointParams, void* uniformState); #ifdef SLANG_PRELUDE_NAMESPACE } |
