video_core/textures: Remove unused index entry in FullTextureInfo
This commit is contained in:
		
							parent
							
								
									961fe4d19b
								
							
						
					
					
						commit
						538ddd220e
					
				@ -763,7 +763,6 @@ Texture::TSCEntry Maxwell3D::GetTSCEntry(u32 tsc_index) const {
 | 
				
			|||||||
Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle,
 | 
					Texture::FullTextureInfo Maxwell3D::GetTextureInfo(const Texture::TextureHandle tex_handle,
 | 
				
			||||||
                                                   std::size_t offset) const {
 | 
					                                                   std::size_t offset) const {
 | 
				
			||||||
    Texture::FullTextureInfo tex_info{};
 | 
					    Texture::FullTextureInfo tex_info{};
 | 
				
			||||||
    tex_info.index = static_cast<u32>(offset);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Load the TIC data.
 | 
					    // Load the TIC data.
 | 
				
			||||||
    auto tic_entry = GetTICEntry(tex_handle.tic_id);
 | 
					    auto tic_entry = GetTICEntry(tex_handle.tic_id);
 | 
				
			||||||
 | 
				
			|||||||
@ -354,7 +354,6 @@ struct TSCEntry {
 | 
				
			|||||||
static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size");
 | 
					static_assert(sizeof(TSCEntry) == 0x20, "TSCEntry has wrong size");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct FullTextureInfo {
 | 
					struct FullTextureInfo {
 | 
				
			||||||
    u32 index;
 | 
					 | 
				
			||||||
    TICEntry tic;
 | 
					    TICEntry tic;
 | 
				
			||||||
    TSCEntry tsc;
 | 
					    TSCEntry tsc;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user