mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	BitField: Make trivially copyable and remove assignment operator
This commit is contained in:
		
							parent
							
								
									f1d1049c4f
								
							
						
					
					
						commit
						6c71858c5c
					
				
					 12 changed files with 56 additions and 60 deletions
				
			
		|  | @ -429,7 +429,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { | |||
|                           uniform.w.ToFloat32()); | ||||
| 
 | ||||
|                 // TODO: Verify that this actually modifies the register!
 | ||||
|                 uniform_setup.index = uniform_setup.index + 1; | ||||
|                 uniform_setup.index.Assign(uniform_setup.index + 1); | ||||
|             } | ||||
|             break; | ||||
|         } | ||||
|  | @ -478,7 +478,7 @@ static void WritePicaReg(u32 id, u32 value, u32 mask) { | |||
|             ASSERT_MSG(lut_config.index < 256, "lut_config.index exceeded maximum value of 255!"); | ||||
| 
 | ||||
|             g_state.lighting.luts[lut_config.type][lut_config.index].raw = value; | ||||
|             lut_config.index = lut_config.index + 1; | ||||
|             lut_config.index.Assign(lut_config.index + 1); | ||||
|             break; | ||||
|         } | ||||
| 
 | ||||
|  |  | |||
|  | @ -201,11 +201,11 @@ void DumpShader(const std::string& filename, const Regs::ShaderConfig& config, c | |||
| 
 | ||||
|                     if (it == output_info_table.end()) { | ||||
|                         output_info_table.emplace_back(); | ||||
|                         output_info_table.back().type = type; | ||||
|                         output_info_table.back().component_mask = component_mask; | ||||
|                         output_info_table.back().id = i; | ||||
|                         output_info_table.back().type.Assign(type); | ||||
|                         output_info_table.back().component_mask.Assign(component_mask); | ||||
|                         output_info_table.back().id.Assign(i); | ||||
|                     } else { | ||||
|                         it->component_mask = it->component_mask | component_mask; | ||||
|                         it->component_mask.Assign(it->component_mask | component_mask); | ||||
|                     } | ||||
|                 } catch (const std::out_of_range& ) { | ||||
|                     DEBUG_ASSERT_MSG(false, "Unknown output attribute mapping"); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue