mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-28 05:52:38 +00:00
ShaderGen: Handle ShaderCode objects directly.
ShaderGeneratorInterface does not have virtual function members, so we have to implement each type explicitly.
This commit is contained in:
parent
b236c363de
commit
fa32f751d3
6 changed files with 12 additions and 14 deletions
|
@ -166,7 +166,7 @@ bool PointGeometryShader::SetShader(u32 components, float pointSize,
|
|||
static char buffer[16384];
|
||||
ShaderCode code;
|
||||
code.SetBuffer(buffer);
|
||||
GenerateVSOutputStructForGS(code, API_D3D);
|
||||
GenerateVSOutputStruct(code, API_D3D);
|
||||
code.Write("\n%s", POINT_GS_COMMON);
|
||||
|
||||
std::stringstream numTexCoordsStream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue