diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-02 22:54:08 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-13 22:33:04 +0100 |
commit | 3dcaa84ba442ac173c8b5241049296d8fe8a3fd7 (patch) | |
tree | 1ffe5c5bbc7db96743f2dc13a715d17d2fac7593 /src/video_core/shader/transform_feedback.h | |
parent | Merge pull request #3473 from ReinUsesLisp/shader-purge (diff) | |
download | yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar.gz yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar.bz2 yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar.lz yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar.xz yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.tar.zst yuzu-3dcaa84ba442ac173c8b5241049296d8fe8a3fd7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/shader/transform_feedback.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/video_core/shader/transform_feedback.h b/src/video_core/shader/transform_feedback.h new file mode 100644 index 000000000..8a8235019 --- /dev/null +++ b/src/video_core/shader/transform_feedback.h @@ -0,0 +1,22 @@ +// Copyright 2020 yuzu Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#pragma once + +#include <unordered_map> + +#include "common/common_types.h" +#include "video_core/shader/registry.h" + +namespace VideoCommon::Shader { + +struct VaryingTFB { + std::size_t buffer; + std::size_t offset; + std::size_t components; +}; + +std::unordered_map<u8, VaryingTFB> BuildTransformFeedback(const GraphicsInfo& info); + +} // namespace VideoCommon::Shader |