degasus 
							
						 
					 
					
						
						
							
						
						bd80de14f4 
					 
					
						
						
							
							ShaderGen: drop PerPixelLighting + 8Texcoord hack  
						
						... 
						
						
						
						D3D9 only supports 8 texcoords. But we need a new one for ppl, so we just store it in the first 4 texcoords in the free 4th component.
This isn't needed for both d3d11 and ogl3, so just remove it. 
						
						
					 
					
						2013-10-15 14:38:26 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						f62579761c 
					 
					
						
						
							
							ShaderGen: remove nonsense for() if() {}  
						
						
						
						
					 
					
						2013-10-15 14:31:02 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						59ae93d04e 
					 
					
						
						
							
							PixelShaderGen: Refine the comment from revision  3fbe1b1ccd.  
						
						
						
						
					 
					
						2013-10-13 14:59:59 +00:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						3fbe1b1ccd 
					 
					
						
						
							
							VideoCommon: Update FastDepth's comment  
						
						
						
						
					 
					
						2013-10-13 16:14:30 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						c054049712 
					 
					
						
						
							
							Fix PixelShaderGen from the previous commit.  
						
						
						
						
					 
					
						2013-10-06 21:54:09 -05:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						26c38648ec 
					 
					
						
						
							
							[Android] Missed a few things for PowerVR544MP3 'support.' It doesn't actually get any video output on it just like Tegra 4.  
						
						
						
						
					 
					
						2013-10-06 21:51:41 -05:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						d4bd5fde71 
					 
					
						
						
							
							Only emit the texgens if they are used, not every single time do all of them.  
						
						
						
						
					 
					
						2013-10-06 21:32:05 -05:00 
						 
				 
			
				
					
						
							
							
								Tony Wasserka 
							
						 
					 
					
						
						
							
						
						ed88cf6cad 
					 
					
						
						
							
							Removing more references to D3D9.  
						
						
						
						
					 
					
						2013-10-06 13:37:10 +02:00 
						 
				 
			
				
					
						
							
							
								Tony Wasserka 
							
						 
					 
					
						
						
							
						
						d198fee21b 
					 
					
						
						
							
							Remove more references to D3D9...  
						
						
						
						
					 
					
						2013-10-06 13:30:59 +02:00 
						 
				 
			
				
					
						
							
							
								Tony Wasserka 
							
						 
					 
					
						
						
							
						
						61ed40749f 
					 
					
						
						
							
							Shader generators: Remove any references to D3D9 and cleanup the affected code.  
						
						
						
						
					 
					
						2013-10-06 13:30:56 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						6bdcde9dd6 
					 
					
						
						
							
							[Android] Tegra 4 'support.' This brings up the OpenGL backend to support Tegra 4 to the point where it will run games but it doesn't have any video output for some reason. This is a large change that doesn't actually change much functionally. Walking through the changes.  
						
						... 
						
						
						
						It changes the string in the Android backend select to just OpenGL ES.
Adds a check in the Android code to check for Tegra 4 and to enable the option to select the OpenGL ES backend.
Adds a DriverDetails bug under BUG_ISTEGRA as a blanket case of Tegra 4 support.
The changes that effects most lines in this change. Removing all float suffixes in the pixel/vertex/util shaders since OpenGL ES 2 doesn't support float suffixes.
Disables the shaders for reinterpreting the EFB format since Tegra 4 doesn't support integers.
Changes GLFunctions.cpp to grab the correct Tegra extension functions.
Readds the GLSL 1.2 'hacks' as GLSLES2 'hacks' since they are required for GLSL ES 2
Adds a GLSLES2 to the GLSL_VERSION enum.
Disable the SamplerCache on Tegra since Tegra doesn't support samplers...
Enable glBufferSubData on Tegra since it is the only mobile GPU to correctly work with it.
Disable glDrawRangeElements on Tegra since it doesn't support it, This uses glDrawElements instead. 
						
						
					 
					
						2013-10-06 03:12:29 -05:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						573dbfd494 
					 
					
						
						
							
							ogl: drop glsl120 support  
						
						
						
						
					 
					
						2013-09-22 23:45:14 +02:00 
						 
				 
			
				
					
						
							
							
								Pierre Bourdon 
							
						 
					 
					
						
						
							
						
						7acee71c0c 
					 
					
						
						
							
							Move swapModeTable to a local variable, avoids shader uid generation writing to it  
						
						
						
						
					 
					
						2013-09-04 23:23:29 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						814c1c9572 
					 
					
						
						
							
							pixelShaderGen: also execute alpha test for always fail with late z test  
						
						... 
						
						
						
						This should fix issue 6493, but maybe no real issue as this rendering just do nothing 
						
						
					 
					
						2013-08-19 21:27:54 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						c05aa0141d 
					 
					
						
						
							
							ShaderGen: Optimize out most function calls for uid generation.  
						
						
						
						
					 
					
						2013-08-12 18:30:42 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						22d9736787 
					 
					
						
						
							
							ShaderGen: Static inline everything.  
						
						
						
						
					 
					
						2013-08-12 18:30:42 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						69a5a79c03 
					 
					
						
						
							
							PixelShaderGen: Optimize shader uid data order.  
						
						
						
						
					 
					
						2013-08-12 18:30:42 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						4c22e1264e 
					 
					
						
						
							
							PixelShaderGen: Do not write depth in pixel shader if depth testing (and thus writing) is not enabled. Should improve performance quite a bit in some cases.  
						
						... 
						
						
						
						Fixes issue 6474. 
						
						
					 
					
						2013-08-12 09:33:36 +00:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						eed36cbf78 
					 
					
						
						
							
							D3D11: Implement zcomploc for hardware supporting D3D 11.0.  
						
						
						
						
					 
					
						2013-08-09 22:20:35 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						4987f89ecc 
					 
					
						
						
							
							simplify my last commit  
						
						
						
						
					 
					
						2013-07-29 23:26:18 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						d029fc2f9f 
					 
					
						
						
							
							remove printf in shader uid generation  
						
						
						
						
					 
					
						2013-07-29 20:52:24 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						e0a5f7842e 
					 
					
						
						
							
							Fix Mali-T604 shader compilation  
						
						
						
						
					 
					
						2013-07-25 16:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						0ba6d12e9d 
					 
					
						
						
							
							fix a small uid awsome bug  
						
						
						
						
					 
					
						2013-07-23 02:13:40 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						15b8ac64ef 
					 
					
						
						
							
							Implement zcomploc on OpenGL4.2+  
						
						
						
						
					 
					
						2013-07-22 12:02:16 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						1f92ccc228 
					 
					
						
						
							
							ShaderGen: Use u8 as uid storage base type. Fixes an off-by-one error introduced in revision  bdc28106ee that caused some lighting issues.  
						
						
						
						
					 
					
						2013-07-02 14:48:08 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						eb153cfded 
					 
					
						
						
							
							PixelShaderGen: Fix a small early-ztest related bug.  
						
						
						
						
					 
					
						2013-06-29 23:14:08 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						99301bd158 
					 
					
						
						
							
							PixelShaderGen: Store early_ztest as part of shader uid.  
						
						
						
						
					 
					
						2013-06-29 23:01:42 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						bdc28106ee 
					 
					
						
						
							
							Optimize shader uid checks by checking the number of uid values which are actually used.  
						
						
						
						
					 
					
						2013-06-22 21:47:22 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						16ada5fa3d 
					 
					
						
						
							
							Compactify generated UID generator assembly and generally cleanup code by storing tev stage hash values in a struct.  
						
						
						
						
					 
					
						2013-06-22 21:47:22 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						7df8a9cae8 
					 
					
						
						
							
							Partial revert of  0247b2a97a. I'll add a work around for Qualcomm in a 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-18 07:52:36 -05:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						c57a90c5b5 
					 
					
						
						
							
							don't define clipPos twice  
						
						... 
						
						
						
						fix issue 6378 
						
						
					 
					
						2013-06-17 23:24:54 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						f724b47f45 
					 
					
						
						
							
							PixelShaderGen: Fix more critical issues, some of which are regressions of revision  32b78a85.  
						
						
						
						
					 
					
						2013-06-17 13:08:38 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						2b2ca5260f 
					 
					
						
						
							
							PixelShaderGen: Fixed some bugs, removed unused shader uid fields.  
						
						
						
						
					 
					
						2013-06-17 13:03:38 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						7a01ceba73 
					 
					
						
						
							
							PixelShaderGen: Fix various merge conflicts and a critical regression from revision  32b78a85.  
						
						
						
						
					 
					
						2013-06-17 12:51:57 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						c505260ec1 
					 
					
						
						
							
							Fix some merge conflicts.  
						
						
						
						
					 
					
						2013-06-17 12:29:47 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						ca22872dae 
					 
					
						
						
							
							Merge 'master' into shader-uids-awesome.  
						
						... 
						
						
						
						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-17 12:05:47 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						20719081df 
					 
					
						
						
							
							PixelShaderGen: Move RegisterStates from global storage to stack.  
						
						
						
						
					 
					
						2013-06-17 11:37:41 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						32b78a8572 
					 
					
						
						
							
							First steps of making the pixel shader uid struct more compact.  
						
						
						
						
					 
					
						2013-06-17 10:50:12 +02:00 
						 
				 
			
				
					
						
							
							
								Armada 
							
						 
					 
					
						
						
							
						
						9594cac42c 
					 
					
						
						
							
							Build fix: Android NDK doesn't support any locale switching.  
						
						... 
						
						
						
						Also, Mac OS X doesn't support DX9. 
						
						
					 
					
						2013-06-16 14:51:38 +02:00 
						 
				 
			
				
					
						
							
							
								Armada 
							
						 
					 
					
						
						
							
						
						fc7099a905 
					 
					
						
						
							
							Set the locale per-thread instead of globally when generating shaders. Add cross-compatible versions of newlocale, uselocale and freelocale.  
						
						... 
						
						
						
						This commit fixes a rare race condition when generating shaders because setlocale is global. 
						
						
					 
					
						2013-06-16 12:33:13 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						a905b18ef1 
					 
					
						
						
							
							Merge branch 'ppd' - per pixel depth  
						
						... 
						
						
						
						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-12 07:29:31 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						bf67378812 
					 
					
						
						
							
							Fix the integer compare in our GLSL fmod function  
						
						
						
						
					 
					
						2013-05-11 00:16:20 -05:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						f7c3cacb5c 
					 
					
						
						
							
							ppd: fix small issues in my last commit  
						
						
						
						
					 
					
						2013-05-10 12:51:06 +02:00 
						 
				 
			
				
					
						
							
							
								degasus 
							
						 
					 
					
						
						
							
						
						89be1cbf51 
					 
					
						
						
							
							recreate "per pixel depth" option and renamed it to fast depth calculation  
						
						
						
						
					 
					
						2013-05-09 17:48:48 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Houdek 
							
						 
					 
					
						
						
							
						
						0247b2a97a 
					 
					
						
						
							
							[Android] More GLES3 things. Disable Framedumping and MSAA rendering. Remove 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-05-06 06:43:04 -05:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						9cb263ad48 
					 
					
						
						
							
							PixelShaderGen: Set some uid fields that I missed before.  
						
						
						
						
					 
					
						2013-04-29 21:19:48 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						02afec5076 
					 
					
						
						
							
							Polish shader uid checking.  
						
						
						
						
					 
					
						2013-04-29 21:00:39 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						77dae3496a 
					 
					
						
						
							
							PixelShaderGen: Cleanups.  
						
						
						
						
					 
					
						2013-04-29 19:52:12 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						adab4e37f7 
					 
					
						
						
							
							Fix some mistakes from the master merge; some cleanups.  
						
						
						
						
					 
					
						2013-04-29 19:37:32 +02:00 
						 
				 
			
				
					
						
							
							
								NeoBrainX 
							
						 
					 
					
						
						
							
						
						5e6b712651 
					 
					
						
						
							
							Merge 'master' into shader-uids-awesome.  
						
						... 
						
						
						
						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-25 14:05:54 +02:00