diff options
Diffstat (limited to 'tools/render-test/cuda/cuda-compute-util.h')
| -rw-r--r-- | tools/render-test/cuda/cuda-compute-util.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/render-test/cuda/cuda-compute-util.h b/tools/render-test/cuda/cuda-compute-util.h index 9c7d83b1f..58ca21716 100644 --- a/tools/render-test/cuda/cuda-compute-util.h +++ b/tools/render-test/cuda/cuda-compute-util.h @@ -10,7 +10,16 @@ namespace renderer_test { struct CUDAComputeUtil { - static SlangResult execute(const ShaderCompilerUtil::OutputAndLayout& outputAndLayout); + struct Context + { + /// Holds the binding information + BindSet m_bindSet; + CPULikeBindRoot m_bindRoot; + /// Buffers are held in same order as entries in layout (useful for dumping out bindings) + List<BindSet::Value*> m_buffers; + }; + + static SlangResult execute(const ShaderCompilerUtil::OutputAndLayout& outputAndLayout, Context& outContext); static bool canCreateDevice(); }; |
