summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GraphicsModSystem/Runtime
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2022-10-15 14:54:21 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2023-08-20 18:53:27 -0500
commitdbaf24ef092ae6e3ea5d12789878a0c17c97c72b (patch)
tree688ffeb359ec26823ffdfa354fb562d35d35df02 /Source/Core/VideoCommon/GraphicsModSystem/Runtime
parent4283d7671804eb55862377cfc5f3966bd4b3394e (diff)
VideoCommon: add data needed to support custom pixel shaders to graphics mod actions
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime')
-rw-r--r--Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
index 2b1408dcc9..a9efb6a0dd 100644
--- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
+++ b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/GraphicsModActionData.h
@@ -3,18 +3,23 @@
#pragma once
+#include <array>
+#include <optional>
#include <string_view>
#include <vector>
#include "Common/CommonTypes.h"
#include "Common/Matrix.h"
#include "VideoCommon/Assets/TextureAsset.h"
+#include "VideoCommon/PixelShaderGen.h"
namespace GraphicsModActionData
{
struct DrawStarted
{
+ u32 texture_unit;
bool* skip;
+ std::optional<CustomPixelShader>* custom_pixel_shader;
};
struct EFB