diff options
author | dan sinclair <dj2@everburning.com> | 2019-03-06 17:10:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 17:10:34 -0500 |
commit | 1e92a1328f03fc05cbb24c6b46a8180009087158 (patch) | |
tree | 11f5df07b4e18729fa45abc7230d782cfb323c37 /src/executor_test.cc | |
parent | c7ea9967a04b5b00aed14e1a15978e36f39a1d62 (diff) | |
download | amber-1e92a1328f03fc05cbb24c6b46a8180009087158.tar.gz |
Allow multiple pipelines to execute. (#331)
This CL updates amber (and the vulkan backend) to work with multiple
pipelines. The vulkan backend is changed to store a PipelineData
structure with the colour/depth formats, vertex data and the vulkan
pipeline for a given amber::Pipeline.
Each command is changed to take the pipeline it is associated with,
those pipelines are used when executing the commands.
Diffstat (limited to 'src/executor_test.cc')
-rw-r--r-- | src/executor_test.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/executor_test.cc b/src/executor_test.cc index 5823f8b..f588c1b 100644 --- a/src/executor_test.cc +++ b/src/executor_test.cc @@ -159,10 +159,11 @@ class EngineStub : public Engine { return {}; } - Result DoProcessCommands() override { return {}; } - Result GetFrameBufferInfo(ResourceInfo*) override { return {}; } - Result GetFrameBuffer(std::vector<Value>*) override { return {}; } - Result GetDescriptorInfo(const uint32_t, + Result DoProcessCommands(Pipeline*) override { return {}; } + Result GetFrameBufferInfo(Pipeline*, ResourceInfo*) override { return {}; } + Result GetFrameBuffer(Pipeline*, std::vector<Value>*) override { return {}; } + Result GetDescriptorInfo(Pipeline*, + const uint32_t, const uint32_t, ResourceInfo*) override { return {}; |