summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/PixelShaderGen.cpp
AgeCommit message (Collapse)Author
2013-09-04Move swapModeTable to a local variable, avoids shader uid generation writing ↵Pierre Bourdon
to it
2013-08-19pixelShaderGen: also execute alpha test for always fail with late z testdegasus
This should fix issue 6493, but maybe no real issue as this rendering just do nothing
2013-08-12ShaderGen: Optimize out most function calls for uid generation.NeoBrainX
2013-08-12ShaderGen: Static inline everything.NeoBrainX
2013-08-12PixelShaderGen: Optimize shader uid data order.NeoBrainX
2013-08-12PixelShaderGen: Do not write depth in pixel shader if depth testing (and ↵NeoBrainX
thus writing) is not enabled. Should improve performance quite a bit in some cases. Fixes issue 6474.
2013-08-09D3D11: Implement zcomploc for hardware supporting D3D 11.0.NeoBrainX
2013-07-29simplify my last commitdegasus
2013-07-29remove printf in shader uid generationdegasus
2013-07-25Fix Mali-T604 shader compilationRyan Houdek
2013-07-23fix a small uid awsome bugdegasus
2013-07-22Implement zcomploc on OpenGL4.2+degasus
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-29PixelShaderGen: Fix a small early-ztest related bug.NeoBrainX
2013-06-29PixelShaderGen: Store early_ztest as part of shader uid.NeoBrainX
2013-06-22Optimize shader uid checks by checking the number of uid values which are ↵NeoBrainX
actually used.
2013-06-22Compactify generated UID generator assembly and generally cleanup code by ↵NeoBrainX
storing tev stage hash values in a struct.
2013-06-18Partial revert of 0247b2a97a1d. I'll add a work around for Qualcomm in a ↵Ryan Houdek
bit. Qualcomm shader compiler failing was only due to floating suffixes not whole function defines. Qualcomm video driver devs seem to have a good response time when it comes to OpenGL ES 3 issues.
2013-06-17don't define clipPos twicedegasus
fix issue 6378
2013-06-17PixelShaderGen: Fix more critical issues, some of which are regressions of ↵NeoBrainX
revision 32b78a85.
2013-06-17PixelShaderGen: Fixed some bugs, removed unused shader uid fields.NeoBrainX
2013-06-17PixelShaderGen: Fix various merge conflicts and a critical regression from ↵NeoBrainX
revision 32b78a85.
2013-06-17Fix some merge conflicts.NeoBrainX
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-17PixelShaderGen: Move RegisterStates from global storage to stack.NeoBrainX
2013-06-17First steps of making the pixel shader uid struct more compact.NeoBrainX
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-05-12Merge branch 'ppd' - per pixel depthdegasus
use always ppd is a huge gpu performance drop: 20%-50% and always disable it cause some rendering issues so there is an option again But this time it's called "Fast Depth Calculation"
2013-05-11Fix the integer compare in our GLSL fmod functionRyan Houdek
2013-05-10ppd: fix small issues in my last commitdegasus
2013-05-09recreate "per pixel depth" option and renamed it to fast depth calculationdegasus
2013-05-06[Android] More GLES3 things. Disable Framedumping and MSAA rendering. Remove ↵Ryan Houdek
the HLSL->GLSL shader defines since Qualcomm doesn't support this in their shader compiler. Now they get chosen in our shader generator instead.
2013-04-29PixelShaderGen: Set some uid fields that I missed before.NeoBrainX
2013-04-29Polish shader uid checking.NeoBrainX
2013-04-29PixelShaderGen: Cleanups.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-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-10Move Shader UID mismatch checking to VideoCommon.NeoBrainX
2013-04-08ogl: support glsl120degasus
2013-04-07Fix a few typos in the comments/logging in VideoDX9, VideoCommon, and ↵Lioncash
VideoSoftware projects. See Render.cpp, PixelShaderGen.cpp, and PixelShaderManager.cpp for most of the changes. See VertexShaderManager.cpp for a logging typo fix. See SWRenderer.cpp for a small typo fix for a message that gets swprintf'd in DrawDebugText. See SWVertexLoader.cpp for a typo fix of an assert message. Should slightly improve the readability of some of those files.
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-31PixelShaderGen: Cleanups.NeoBrainX