ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							7790144a55 
							
						 
					 
					
						
						
							
							fixed_pipeline_state: Pack depth stencil state  
						
						... 
						
						
						
						Reduce FixedPipelineState's size to 632 bytes. 
						
						
					 
					
						2020-04-18 19:22:11 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							ab6704f20c 
							
						 
					 
					
						
						
							
							fixed_pipeline_state: Pack attribute state  
						
						... 
						
						
						
						Reduce FixedPipelineState's size from 1384 to 664 bytes 
						
						
					 
					
						2020-04-18 19:21:19 -03:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5305806071 
							
						 
					 
					
						
						
							
							Merge pull request  #3716  from bunnei/fix-another-impl-fallthrough  
						
						... 
						
						
						
						video_core: gl_shader_decompiler: Fix implicit fallthrough errors. 
						
						
					 
					
						2020-04-18 15:17:52 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							03726fb7f5 
							
						 
					 
					
						
						
							
							video_core: gl_shader_decompiler: Fix implicit fallthrough errors.  
						
						
						
						
					 
					
						2020-04-18 15:15:21 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							bf328ed35a 
							
						 
					 
					
						
						
							
							gl_shader_decompiler: Avoid copies where applicable  
						
						... 
						
						
						
						Avoids unnecessary reference count increments where applicable and also
avoids reallocating a vector.
Unlikely to make a huge difference, but given how trivial of an
amendment it is, why not? 
						
						
					 
					
						2020-04-17 20:48:52 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Wick 
							
						 
					 
					
						
						
						
						
							
						
						
							07fbef1776 
							
						 
					 
					
						
						
							
							video_code: Fix implicit switch fallthrough.  
						
						... 
						
						
						
						Since yesterday, this breaks the build on linux.
So let's fix it. 
						
						
					 
					
						2020-04-17 23:43:35 +02:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							a7b6bd56d7 
							
						 
					 
					
						
						
							
							vk_stream_buffer: Fix out of memory on boot on recent Nvidia drivers  
						
						... 
						
						
						
						Nvidia recently introduced a new memory type for data streaming
(awesome!), but yuzu was assuming that all heaps had enough memory
for the assumed stream buffer size (256 MiB).
This worked fine on AMD but Nvidia's new memory heap was smaller than
256 MiB. This commit changes this assumption and allocates a bit less
than the size of the preferred heap, with a maximum of 256 MiB (to avoid
allocating all system memory on integrated devices).
- Fixes a crash on NVIDIA 450.82.0.0 
						
						
					 
					
						2020-04-17 18:12:48 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							990c0b184f 
							
						 
					 
					
						
						
							
							Revert "gl_shader_cache: Use CompileDepth::FullDecompile on GLSL"  
						
						
						
						
					 
					
						2020-04-17 17:41:48 -03:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b8f5c71f2d 
							
						 
					 
					
						
						
							
							Merge pull request  #3666  from bunnei/new-vmm  
						
						... 
						
						
						
						Implement a new virtual memory manager 
						
						
					 
					
						2020-04-17 16:33:08 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca3af2961c 
							
						 
					 
					
						
						
							
							Merge pull request  #3682  from lioncash/uam  
						
						... 
						
						
						
						gl_query_cache: Resolve use-after-move in CachedQuery move assignment operator 
						
						
					 
					
						2020-04-17 01:24:08 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							32fc2aae3c 
							
						 
					 
					
						
						
							
							video_core: memory_manager: Updates for Common::PageTable changes.  
						
						
						
						
					 
					
						2020-04-17 00:59:34 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
						
						
							
						
						
							4caff51710 
							
						 
					 
					
						
						
							
							core: memory: Move to Core::Memory namespace.  
						
						... 
						
						
						
						- helpful to disambiguate Kernel::Memory namespace. 
						
						
					 
					
						2020-04-17 00:59:28 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							e2d8be1ca2 
							
						 
					 
					
						
						
							
							General: Resolve warnings related to missing declarations  
						
						
						
						
					 
					
						2020-04-16 23:43:34 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							678ac54749 
							
						 
					 
					
						
						
							
							decode/memory: Resolve unused variable warning  
						
						... 
						
						
						
						Only the first element of the returned pair is ever used. 
						
						
					 
					
						2020-04-16 22:45:44 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							d159643fd7 
							
						 
					 
					
						
						
							
							decode/texture: Resolve unused variable warnings.  
						
						... 
						
						
						
						Some variables aren't used, so we can remove these.
Unfortunately, diagnostics are still reported on structured bindings
even when annotated with [[maybe_unused]], so we need to unpack the
elements that we want to use manually. 
						
						
					 
					
						2020-04-16 22:45:41 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							f522abd8ab 
							
						 
					 
					
						
						
							
							decode/texture: Collapse loop down into std::generate  
						
						... 
						
						
						
						Same behavior, less code. 
						
						
					 
					
						2020-04-16 22:29:07 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							7e2d60de26 
							
						 
					 
					
						
						
							
							decode/texture: Eliminate trivial missing field initializer warnings  
						
						... 
						
						
						
						We can just specify the initializers. 
						
						
					 
					
						2020-04-16 22:27:21 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							79c1269f0f 
							
						 
					 
					
						
						
							
							Merge pull request  #3673  from lioncash/extra  
						
						... 
						
						
						
						CMakeLists: Specify -Wextra on linux builds 
						
						
					 
					
						2020-04-16 21:12:33 -04:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							238c6016f9 
							
						 
					 
					
						
						
							
							maxwell_3d: Initialize format attributes constant as one  
						
						... 
						
						
						
						nouveau expects this to be true but it doesn't set it. 
						
						
					 
					
						2020-04-16 21:15:07 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							c961770900 
							
						 
					 
					
						
						
							
							vk_compute_pass: Implement indexed quads  
						
						... 
						
						
						
						Implement indexed quads (GL_QUADS used with glDrawElements*) with a
compute pass conversion.
The compute shader converts from uint8/uint16/uint32 indices to uint32.
The format is passed through push constants to avoid having different
variants of the same shader.
- Used by Fast RMX
- Used by Xenoblade Chronicles 2 (it still has graphical due to
synchronization issues on Vulkan) 
						
						
					 
					
						2020-04-16 21:12:32 -03:00 
						 
				 
			
				
					
						
							
							
								Fernando Sahmkow 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c81f256111 
							
						 
					 
					
						
						
							
							Merge pull request  #3600  from ReinUsesLisp/no-pointer-buf-cache  
						
						... 
						
						
						
						buffer_cache: Return handles instead of pointer to handles 
						
						
					 
					
						2020-04-16 19:58:13 -04:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							090fd3fefa 
							
						 
					 
					
						
						
							
							buffer_cache: Return handles instead of pointer to handles  
						
						... 
						
						
						
						The original idea of returning pointers is that handles can be moved.
The problem is that the implementation didn't take that in mind and made
everything harder to work with. This commit drops pointer to handles and
returns the handles themselves. While it is still true that handles can
be invalidated, this way we get an old handle instead of a dangling
pointer.
This problem can be solved in the future with sparse buffers. 
						
						
					 
					
						2020-04-16 02:33:34 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a5a2ee8766 
							
						 
					 
					
						
						
							
							Merge pull request  #3689  from lioncash/unused-var  
						
						... 
						
						
						
						decode/shift: Remove unused variable within Shift() 
						
						
					 
					
						2020-04-16 02:05:54 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d196ce0f71 
							
						 
					 
					
						
						
							
							Merge pull request  #3688  from lioncash/nequal  
						
						... 
						
						
						
						surface_view: Add missing operator!= to ViewParams 
						
						
					 
					
						2020-04-16 01:39:51 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4209dba1f6 
							
						 
					 
					
						
						
							
							Merge pull request  #3680  from lioncash/static  
						
						... 
						
						
						
						gl_device: Mark stage_swizzle as constexpr 
						
						
					 
					
						2020-04-16 01:26:23 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							60e8de7c95 
							
						 
					 
					
						
						
							
							Merge pull request  #3687  from lioncash/constness  
						
						... 
						
						
						
						surface_base: Make IsInside() a const member function 
						
						
					 
					
						2020-04-16 01:22:50 -03:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							612966399b 
							
						 
					 
					
						
						
							
							Merge pull request  #3685  from lioncash/copies  
						
						... 
						
						
						
						control_flow: Make use of std::move in TryInspectAddress() 
						
						
					 
					
						2020-04-16 01:22:40 -03:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							cd2a12e78f 
							
						 
					 
					
						
						
							
							decode/shift: Remove unused variable within Shift()  
						
						... 
						
						
						
						Removes a redundant variable that is already satisfied by the IsFull()
utility function. 
						
						
					 
					
						2020-04-16 00:16:06 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							5fbe8785d2 
							
						 
					 
					
						
						
							
							surface_view: Add missing operator!= to ViewParams  
						
						... 
						
						
						
						Provides logical symmetry to the interface. 
						
						
					 
					
						2020-04-16 00:03:12 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							d551c910bb 
							
						 
					 
					
						
						
							
							surface_base: Make IsInside() a const member function  
						
						... 
						
						
						
						This doesn't modify internal state, so this can be made const. 
						
						
					 
					
						2020-04-15 23:59:35 -04:00 
						 
				 
			
				
					
						
							
							
								bunnei 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							319df1db77 
							
						 
					 
					
						
						
							
							Merge pull request  #3683  from lioncash/docs  
						
						... 
						
						
						
						video_core: Amend doxygen comment references 
						
						
					 
					
						2020-04-15 23:54:58 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							636c8ab85b 
							
						 
					 
					
						
						
							
							texture_cache/format_lookup_table: Fix incorrect green, blue, and alpha indices  
						
						... 
						
						
						
						Previously these were all using the red component to derive the indices,
which is definitely not intentional. 
						
						
					 
					
						2020-04-15 23:50:46 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							72a224d3fc 
							
						 
					 
					
						
						
							
							control_flow: Make use of std::move in TryInspectAddress()  
						
						... 
						
						
						
						Eliminates redundant atomic reference count increments and decrements. 
						
						
					 
					
						2020-04-15 23:31:22 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							11837e8f13 
							
						 
					 
					
						
						
							
							video_core: Amend doxygen comment references  
						
						... 
						
						
						
						Fixes broken documentation references. 
						
						
					 
					
						2020-04-15 22:33:29 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							3a60f19eaf 
							
						 
					 
					
						
						
							
							gl_query_cache: Resolve use-after-move in CachedQuery move assignment operator  
						
						... 
						
						
						
						Avoids potential invalid junk data from being read. 
						
						
					 
					
						2020-04-15 22:20:06 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							71fb156611 
							
						 
					 
					
						
						
							
							gl_device: Mark stage_swizzle as constexpr  
						
						... 
						
						
						
						Previously this was mutable even though it shouldn't be. 
						
						
					 
					
						2020-04-15 21:59:13 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							e15ec2705c 
							
						 
					 
					
						
						
							
							track: Eliminate redundant copies  
						
						... 
						
						
						
						Two variables can be references, while two others can be std::moved.
Makes for 4 less atomic reference count increments and decrements. 
						
						
					 
					
						2020-04-15 21:50:09 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							1c340c6efa 
							
						 
					 
					
						
						
							
							CMakeLists: Specify -Wextra on linux builds  
						
						... 
						
						
						
						Allows reporting more cases where logic errors may exist, such as
implicit fallthrough cases, etc.
We currently ignore unused parameters, since we currently have many
cases where this is intentional (virtual interfaces).
While we're at it, we can also tidy up any existing code that causes
warnings. This also uncovered a few bugs as well. 
						
						
					 
					
						2020-04-15 21:33:46 -04:00 
						 
				 
			
				
					
						
							
							
								Rodrigo Locatti 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							65cbb122ea 
							
						 
					 
					
						
						
							
							Merge pull request  #3649  from FernandoS27/3d-fix  
						
						... 
						
						
						
						Texture Cache: Read current data when flushing a 3D segment. 
						
						
					 
					
						2020-04-15 17:06:55 -03:00 
						 
				 
			
				
					
						
							
							
								Fernando Sahmkow 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e33196d4e7 
							
						 
					 
					
						
						
							
							Merge pull request  #3612  from ReinUsesLisp/red  
						
						... 
						
						
						
						shader/memory: Implement RED.E.ADD and minor changes to ATOM 
						
						
					 
					
						2020-04-15 15:03:49 -04:00 
						 
				 
			
				
					
						
							
							
								Lioncash 
							
						 
					 
					
						
						
						
						
							
						
						
							213fff67bc 
							
						 
					 
					
						
						
							
							CMakeLists: Make -Wreorder a compile-time error  
						
						... 
						
						
						
						This can result in silent logic bugs within code, and given the amount
of times these kind of warnings are caused, they should be flagged at
compile-time so no new code is submitted with them. 
						
						
					 
					
						2020-04-15 14:14:41 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							64b5985f0a 
							
						 
					 
					
						
						
							
							Merge pull request  #3662  from ReinUsesLisp/constant-attrs  
						
						... 
						
						
						
						gl_rasterizer: Implement constant vertex attributes 
						
						
					 
					
						2020-04-15 11:54:50 -04:00 
						 
				 
			
				
					
						
							
							
								Fernando Sahmkow 
							
						 
					 
					
						
						
						
						
							
						
						
							6789d88a9c 
							
						 
					 
					
						
						
							
							Texture Cache: Read current data when flushing a 3D segment.  
						
						... 
						
						
						
						This PR corrects flushing of 3D segments when data of other segments is
mixed, this aims to preserve the data in place. 
						
						
					 
					
						2020-04-15 11:46:17 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9208d555b7 
							
						 
					 
					
						
						
							
							Merge pull request  #3668  from ReinUsesLisp/vtx-format-16ui  
						
						... 
						
						
						
						maxwell_to_vk: Add uint16 vertex formats 
						
						
					 
					
						2020-04-15 11:43:52 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ab72696beb 
							
						 
					 
					
						
						
							
							Merge pull request  #3656  from ReinUsesLisp/glsl-full-decompile  
						
						... 
						
						
						
						gl_shader_cache: Use CompileDepth::FullDecompile on GLSL 
						
						
					 
					
						2020-04-15 03:17:46 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							4878d6bb49 
							
						 
					 
					
						
						
							
							Merge pull request  #3654  from ReinUsesLisp/fix-fb-attach  
						
						... 
						
						
						
						gl_texture_cache: Fix layered texture attachment base level 
						
						
					 
					
						2020-04-15 03:17:18 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							50c0a92db8 
							
						 
					 
					
						
						
							
							Merge pull request  #3663  from ReinUsesLisp/fcmp-rc  
						
						... 
						
						
						
						shader/arithmetic: Add FCMP_CR variant 
						
						
					 
					
						2020-04-15 03:16:56 -04:00 
						 
				 
			
				
					
						
							
							
								Mat M 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							13331a3a32 
							
						 
					 
					
						
						
							
							Merge pull request  #3664  from ReinUsesLisp/fe3h-black-squares  
						
						... 
						
						
						
						Revert "gl_shader_decompiler: Implement merges with bitfieldInsert" 
						
						
					 
					
						2020-04-15 03:14:28 -04:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							3036067047 
							
						 
					 
					
						
						
							
							maxwell_to_vk: Add uint16 vertex formats  
						
						
						
						
					 
					
						2020-04-15 04:06:30 -03:00 
						 
				 
			
				
					
						
							
							
								ReinUsesLisp 
							
						 
					 
					
						
						
						
						
							
						
						
							b4e43c64c8 
							
						 
					 
					
						
						
							
							maxwell_to_vk: Add missing breaks  
						
						... 
						
						
						
						Avoid invalid fallbacks. 
						
						
					 
					
						2020-04-15 04:05:33 -03:00