mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
D3D: Add GeometryShaderCache.
This commit is contained in:
parent
9a312e2b83
commit
d5ebdf7a97
7 changed files with 219 additions and 1 deletions
|
@ -69,7 +69,7 @@ static inline void GenerateGeometryShader(T& out, u32 components, API_TYPE ApiTy
|
|||
out.Write("\tfor (int l = 0; l < %d; ++l) {\n", g_ActiveConfig.iStereoMode > 0 ? 2 : 1);
|
||||
|
||||
out.Write("\tfor (int i = 0; i < 3; ++i) {\n");
|
||||
out.Write("\t\tlayer = l;\n");
|
||||
out.Write("\t\tgs.layer = l;\n");
|
||||
out.Write("\t\tgl_Layer = l;\n");
|
||||
out.Write("\t\tf = o[i];\n");
|
||||
out.Write("\t\tfloat4 pos = o[i].pos;\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue