summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexShaderGen.cpp
AgeCommit message (Collapse)Author
2013-08-14VertexShaderGen: Cleanup.NeoBrainX
2013-08-12ShaderGen: Optimize out most function calls for uid generation.NeoBrainX
2013-08-12LightingShaderGen: Use macro magic instead of snprintf. Should fix ↵NeoBrainX
performance problems.
2013-07-02ShaderGen: Use u8 as uid storage base type. Fixes an off-by-one error ↵NeoBrainX
introduced in revision bdc28106eed0 that caused some lighting issues.
2013-06-30VertexShaderGen: Fix a potential bug where vertex shader uids don't change whenNeoBrainX
pixel lighting is toggled. Same as revision f524312fd17e but done properly (why is our shader gen code this dumb?).
2013-06-30VertexShaderGen: Fix a dumb regression from revision f524312fd17e.NeoBrainX
2013-06-29VertexShaderGen: Fix a potential bug where vertex shader uids don't change ↵NeoBrainX
when pixel lighting is toggled.
2013-06-28Finishing touches.NeoBrainX
2013-06-23Compactify VertexShader uid struct.NeoBrainX
2013-06-22Optimize shader uid checks by checking the number of uid values which are ↵NeoBrainX
actually used.
2013-06-17Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/VertexShaderGen.cpp
2013-06-16Build fix: Android NDK doesn't support any locale switching.Armada
Also, Mac OS X doesn't support DX9.
2013-06-16Set the locale per-thread instead of globally when generating shaders. Add ↵Armada
cross-compatible versions of newlocale, uselocale and freelocale. This commit fixes a rare race condition when generating shaders because setlocale is global.
2013-06-11Build FixRyan Houdek
2013-06-11[Android] Start of *working* GLES3 support. Needs to be able to compile in ↵Ryan Houdek
Windows still.
2013-04-29Polish shader uid checking.NeoBrainX
2013-04-29Fix some mistakes from the master merge; some cleanups.NeoBrainX
2013-04-25Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/BPMemory.h Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/PixelShaderManager.cpp Source/Core/VideoCommon/Src/VertexShaderGen.cpp Source/Core/VideoCommon/Src/VertexShaderGen.h
2013-04-24Formatting cleanup for VideoCommon.Lioncash
Block braces on new lines. Also killed off trailing whitespace and dangling elses. Spaced some things out to make them more readable (only in places where it looked like a bit of a clusterfuck).
2013-04-24Revert "Revert "Fix performance issues on certain legacy graphics hardware ↵degasus
that isn't capable of copying an integer."" This reverts commit 8b7141d3de3f4791b118a2f63b76b56da40e812d. GLSL120 can't handle integer attributes :-(
2013-04-17New license header introduced for DiscIO, AudioCommon, InputCommon, ↵Lioncash
VideoCommon, and Common projects.
2013-04-10ShaderGen: Build fix.NeoBrainX
2013-04-10LightingShaderGen: Use a float4 array for lights instead of a struct ↵NeoBrainX
(uniform management in the non-UBO path is a mess otherwise). Also fix a small bug (cf. revision 154c533e7632).
2013-04-10VertexShaderGen: Fix a small GLSL regression in emboss mapping.NeoBrainX
2013-04-10Move Shader UID mismatch checking to VideoCommon.NeoBrainX
2013-04-10VertexShaderGen: More per-pixel-lighting fixes.NeoBrainX
2013-04-07D3D11: Fix glitched polygon edges when MSAA is enabled (this time without ↵Pierre Bourdon
breaking OpenGL)
2013-04-03Revert "D3D11: Fix glitched polygon edges when MSAA is enabled."Grant Paul
This reverts commit 61c327ba8b2e09e67acbcd7d1c807910fc0c1a68.
2013-04-03D3D11: Fix glitched polygon edges when MSAA is enabled.NeoBrainX
2013-03-31ShaderGen: Remove some TODOs and fix an issue with per pixel lighting.NeoBrainX
2013-03-31ShaderGen: Fix per pixel lighting.NeoBrainX
2013-03-31ShaderGen: Small optimization.NeoBrainX
2013-03-29ShaderGen: More interface cleanups. Less wtfs :)NeoBrainX
2013-03-29ShaderGen: Cleanup uid data writing.NeoBrainX
2013-03-29PixelShaderManager: Disable constant cache (won't work in the non-UBO path ↵NeoBrainX
of the opengl backend). ShaderGen: Replace typeid usage with more general code.
2013-03-27Fix Windows build, try 4.NeoBrainX
2013-03-26ShaderGenCommon: Replace the GenOutput enum by using typeid instead.NeoBrainX
2013-03-26Merge 'master' into shader-uids-awesome.NeoBrainX
Conflicts: Source/Core/VideoCommon/Src/LightingShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/PixelShaderGen.h Source/Core/VideoCommon/Src/PixelShaderManager.cpp Source/Core/VideoCommon/Src/VertexShaderGen.cpp Source/Core/VideoCommon/Src/VertexShaderGen.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.h Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.h
2013-03-26VertexShaderGen: De-uglify VS output structure writingNeoBrainX
2013-03-26Partially revert "Now CG plays nice with this new stuff."NeoBrainX
This reverts commit 3943840d5c422af45941a96e6d4407d59380b39d. Suppport for old GLSL versions has been dropped, so to make things less ugly we can use a structure for lights again.
2013-03-19Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.lioncash
Not planning to touch Core since it's the most actively changed part of the project.
2013-03-06Merge branch 'master' into GLSL-masterdegasus
Conflicts: CMakeLists.txt Source/Core/DolphinWX/CMakeLists.txt Source/Core/DolphinWX/Src/GLInterface.h Source/Core/VideoCommon/Src/PixelShaderGen.cpp Source/Core/VideoCommon/Src/TextureCacheBase.cpp Source/Core/VideoCommon/Src/VertexManagerBase.cpp Source/Plugins/Plugin_VideoDX11/Src/VertexManager.cpp Source/Plugins/Plugin_VideoDX9/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj Source/Plugins/Plugin_VideoOGL/Plugin_VideoOGL.vcxproj.filters Source/Plugins/Plugin_VideoOGL/Src/GLUtil.h Source/Plugins/Plugin_VideoOGL/Src/PixelShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/TextureCache.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp Source/Plugins/Plugin_VideoOGL/Src/VertexShaderCache.cpp Source/Plugins/Plugin_VideoOGL/Src/main.cpp
2013-03-04disable per pixel depth if depth textures aren't useddegasus
2013-02-28Open std::fstream in a unicode-safe manner.Jordan Woyak
2013-02-26Revert "Fix performance issues on certain legacy graphics hardware that ↵degasus
isn't capable of copying an integer." This reverts commit 380f22ca0eeab998d4c73cb3a4116bd98d62e1ea. Yeah, reverting a revert.
2013-02-25Fix performance issues on certain legacy graphics hardware that isn't ↵Jordan Woyak
capable of copying an integer. This reverts commit 52dacaa3e3ca5cfd6ca0e524a5e5e3ff843cba02.
2013-02-24Revert "remove numTexGens=7 hack. only cg wasn't able to handle more then 8 ↵degasus
texcoords" This reverts commit 4653adecf16d9aa0cf3003386999f3d46f3c38f4. Also dx9 isn't able to hanlde more than 11 varying registers. More frustrating is the lightning issue by this commit. I don't know why it happens...
2013-02-23Make the posmtx vertex attribute an int instead of converting to and from a ↵Jordan Woyak
float.
2013-02-17remove numTexGens=7 hack. only cg wasn't able to handle more then 8 texcoordsdegasus
2013-02-13merge glsl headers into one placedegasus