summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GeometryShaderGen.cpp
AgeCommit message (Collapse)Author
2015-06-22Revert "GeometryShaderGen: Don't use `centroid in` for input variables."degasus
This reverts commit 4cbaddb7ad1e84946a6fb1af1d853af15be90615.
2015-06-10GeometryShaderGen: Consistently use xfmem just as the vertex shader.Jules Blok
There are very rare conditions in which xfmem can actually desync from bpmem.
2015-06-10GeometryShaderGen: Don't use `centroid in` for input variables.Jules Blok
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-01-31GeometryShaderGen: Perspective divide the line coordinates before comparing ↵Jules Blok
the angle.
2015-01-03Move worldpos into it's own varying.Scott Mansell
Previously it was packed into spare slots in clippos.xy and normal.w, but it's ugly and more importantly it's causing bugs. This was discovered during the debugging of a zfreeze branch, which expected clippos.xy to be xy position coordinates in clipspace (as the name suggested). Turns out the stereoscopy shader had also run into this trap, modifying clippos.x (introducing errors with per-pixel lighting). This commit has been moved outside of the zfreeze PR for fast merging.
2014-12-28VideoCommon: Don't pass structs between shaders, use the interface blocks ↵Jules Blok
instead.
2014-12-20Merge pull request #1716 from Armada651/geom-wireframeDolphin Bot
VideoCommon: Handle wireframe mode in the geometry shader.
2014-12-19VideoCommon: Don't specify the redundant in/out qualifier if ↵Jules Blok
GL_ARB_shading_language_420pack is supported. Some driver developers interpreted "can" as "must" in the OpenGL specs. (I'm looking at you AMD)
2014-12-19GeometryShaderGen: Re-emit the first vertex when wireframe mode is enabled.Jules Blok
2014-12-19VideoCommon: Make IsPassthrough() a function of the ShaderUid.Jules Blok
2014-12-19VideoCommon: Handle wireframe mode in the geometry shader.Jules Blok
2014-12-19VideoCommon: Add in/out qualifiers to centroid storage qualifier.Jules Blok
Fixes shaders for GPUs that don't support GL_ARB_shading_language_420pack.
2014-12-19GeometryShaderGen: Don't use the reserved keyword "point" in D3D.Jules Blok
2014-12-18VideoCommon: Pass interface blocks between shader stages to resolve naming ↵Jules Blok
conflicts.
2014-12-18GeometryShader: Disable the geometry shader stage if it is a pass-through ↵Jules Blok
shader.
2014-12-18GeometryShaderGen: Cosmetics.Jules Blok
2014-12-18GeometryShaderGen: Pack uniforms more tightly.Jules Blok
2014-12-15GeometryShaderGen: Remove redundant declaration.Jules Blok
2014-12-15GeometryShaderGen: Use signed integers for the texture offset flags.Jules Blok
2014-12-15GeometryShaderGen: Declare a prototype for EmitVertex().Jules Blok
2014-12-15VideoCommon: Merge PointGeometryShader into GeometryShaderGen.Jules Blok
This adds point-width emulation support to OpenGL.
2014-12-15VideoCommon: Merge LineGeometryShader into GeometryShaderGen.Jules Blok
This adds line-width emulation support to OpenGL.
2014-12-15GeometryShaderGen: Support multiple primitive types.Jules Blok
And make more stereoscopy code optional.
2014-12-15GeometryShaderGen: Redefine gl_InvocationID so we can use the same variable ↵Jules Blok
name in both backends.
2014-12-15GeometryShaderManager: Upload Line/Point width constants.Jules Blok
2014-12-14GeometryShaderGen: Pass the primitive type and always run the generator ↵Jules Blok
regardless of stereoscopy.
2014-12-14VideoCommon: Add a separate constants buffer for the geometry shader.Jules Blok
2014-12-14ShaderGen: Remove the GS_OUTPUT struct for OpenGL.Jules Blok
And remove the generator for it since it is no longer used outside of the geometry shader.
2014-12-14CosmeticsJules Blok
2014-12-14D3D: Add geometry shader instancing support.Jules Blok
2014-12-14D3D: Add geometry shader stereoscopy support.Jules Blok
2014-12-14D3D: Add GeometryShaderCache.Jules Blok
2014-12-05Common: Remove locale based functions from CommonFuncs.Lioncash
Since %f isn't used anymore in the shader generators, these can go.
2014-11-23GeometryShaderGen: Set the properties of the VS_OUTPUT struct in the uid.Jules Blok
2014-11-23GeometryShader: Don't read from output variablesdegasus
2014-11-23GeometryShaderGen: Declare the vertex array size.Jules Blok
2014-11-23GeometryShaderGen: Add comments.Jules Blok
2014-11-23VideoCommon: Switch to Nvidia stereoscopy offset formula.Jules Blok
2014-11-23ShaderGen: Only pass VS_OUTPUT between shaders if stereo 3D is enabled.Jules Blok
GLSL130 doesn't support passing structs between shaders. This is not a problem for stereo 3D which has a GLSL150 requirement.
2014-11-23GeometryShader: Adjust positions after projection.Jules Blok
By adjusting the positions in clip space we can avoid the re-projection.
2014-11-23GeometryShader: Replicate missing position manipulations from vertex shader.Jules Blok
2014-11-23Cosmetics.Jules Blok
2014-11-23VideoConfigDiag: Add stereoscopy options group.Jules Blok
2014-11-23Cosmetics.Jules Blok
2014-11-23ProgramShaderCache: Always generate a geometry shader UID, even if ↵Jules Blok
stereoscopy is disabled.
2014-11-23GeometryShader: Transform the projection within the geometry shader.Jules Blok
Reduces the amount of data transferred through uniforms. The shearing transformation is reduced to a single multiplication/addition for optimization.
2014-11-23ShaderGen: Rename "eye" to "layer".Jules Blok
Keeping things generic.
2014-11-23GeometryShaderGen: Support stereoscopy on GPUs without support for instancing.Jules Blok