mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
VideoCommon: Pass interface blocks between shader stages to resolve naming conflicts.
This commit is contained in:
parent
bd6d229733
commit
782a5adb94
3 changed files with 56 additions and 31 deletions
|
@ -72,7 +72,9 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
|
|||
out.Write("in float%d tex%d; // ATTR%d,\n", hastexmtx ? 3 : 2, i, SHADER_TEXTURE0_ATTRIB + i);
|
||||
}
|
||||
|
||||
out.Write("centroid out VS_OUTPUT o;\n");
|
||||
out.Write("out VertexData {\n"
|
||||
"\tcentroid VS_OUTPUT o;\n"
|
||||
"};\n");
|
||||
|
||||
out.Write("void main()\n{\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue