VideoCommon: add data needed to support custom pixel shaders to graphics mod actions
This commit is contained in:
parent
4283d76718
commit
dbaf24ef09
|
@ -3,18 +3,23 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
|
#include <optional>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "Common/CommonTypes.h"
|
#include "Common/CommonTypes.h"
|
||||||
#include "Common/Matrix.h"
|
#include "Common/Matrix.h"
|
||||||
#include "VideoCommon/Assets/TextureAsset.h"
|
#include "VideoCommon/Assets/TextureAsset.h"
|
||||||
|
#include "VideoCommon/PixelShaderGen.h"
|
||||||
|
|
||||||
namespace GraphicsModActionData
|
namespace GraphicsModActionData
|
||||||
{
|
{
|
||||||
struct DrawStarted
|
struct DrawStarted
|
||||||
{
|
{
|
||||||
|
u32 texture_unit;
|
||||||
bool* skip;
|
bool* skip;
|
||||||
|
std::optional<CustomPixelShader>* custom_pixel_shader;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct EFB
|
struct EFB
|
||||||
|
|
Loading…
Reference in New Issue