mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
GeometryShader: Transform the projection within the geometry shader.
Reduces the amount of data transferred through uniforms. The shearing transformation is reduced to a single multiplication/addition for optimization.
This commit is contained in:
parent
4fd943aedd
commit
6cacfad010
4 changed files with 14 additions and 24 deletions
|
@ -43,6 +43,6 @@ struct VertexShaderConstants
|
|||
float4 normalmatrices[32];
|
||||
float4 posttransformmatrices[64];
|
||||
float4 depthparams;
|
||||
float4 stereoprojection[8];
|
||||
float4 stereooffset;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue