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:
Jules Blok
2014-10-30 02:08:15 +01:00
parent 4fd943aedd
commit 6cacfad010
4 changed files with 14 additions and 24 deletions

View File

@ -43,6 +43,6 @@ struct VertexShaderConstants
float4 normalmatrices[32];
float4 posttransformmatrices[64];
float4 depthparams;
float4 stereoprojection[8];
float4 stereooffset;
};