mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 01:59:02 +00:00
VideoCommon: Add vertex shader point and line expansion
This commit is contained in:
parent
804e42150e
commit
68f49df0f8
17 changed files with 584 additions and 73 deletions
|
@ -102,9 +102,18 @@ struct VertexShaderConstants
|
|||
std::array<u32, 8> vertex_offset_texcoords;
|
||||
};
|
||||
|
||||
enum class VSExpand : u32
|
||||
{
|
||||
None = 0,
|
||||
Point,
|
||||
Line,
|
||||
};
|
||||
|
||||
struct GeometryShaderConstants
|
||||
{
|
||||
float4 stereoparams;
|
||||
float4 lineptparams;
|
||||
int4 texoffset;
|
||||
VSExpand vs_expand; // Used by VS point/line expansion in ubershaders
|
||||
u32 pad[3];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue