summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
diff options
context:
space:
mode:
authorMai <mai.iam2048@gmail.com>2024-01-26 12:39:37 -0500
committerGitHub <noreply@github.com>2024-01-26 12:39:37 -0500
commita5533087754b5bb7b031682ac59d231876134701 (patch)
tree9c99266b070d3a158814f878e1893ebcf3e04c32 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
parent97160ddc83d71a26ef206b29e15313f3dc661ce2 (diff)
parent3c00689bd6b9cf4046c094b04c44d0598a7e6e8f (diff)
Merge pull request #12443 from iwubcode/custom_pipeline_action_material_cubemap
VideoCommon: update custom pipeline action to support a variety of texture samplers, support for materials, and more!
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
index 1b9115e6d5..cecd0ce94f 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
@@ -11,6 +11,7 @@
#include "Common/CommonTypes.h"
#include "Common/Matrix.h"
+#include "Common/SmallVector.h"
#include "VideoCommon/Assets/TextureAsset.h"
#include "VideoCommon/PixelShaderGen.h"
@@ -18,7 +19,7 @@ namespace GraphicsModActionData
{
struct DrawStarted
{
- u32 texture_unit;
+ const Common::SmallVector<u32, 8>& texture_units;
bool* skip;
std::optional<CustomPixelShader>* custom_pixel_shader;
std::span<u8>* material_uniform_buffer;