mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	gl_shader_decompiler: Get rid of variable shadowing warnings
A variable with the same name was previously declared in an outer scope.
This commit is contained in:
		| @@ -3308,8 +3308,8 @@ private: | |||||||
|                                   Tegra::Shader::VmadType type, u64 byte_height) { |                                   Tegra::Shader::VmadType type, u64 byte_height) { | ||||||
|                     const std::string value = [&]() { |                     const std::string value = [&]() { | ||||||
|                         if (!is_chunk) { |                         if (!is_chunk) { | ||||||
|                             const auto offset = static_cast<u32>(byte_height * 8); |                             const auto shift = static_cast<u32>(byte_height * 8); | ||||||
|                             return "((" + op + " >> " + std::to_string(offset) + ") & 0xff)"; |                             return "((" + op + " >> " + std::to_string(shift) + ") & 0xff)"; | ||||||
|                         } |                         } | ||||||
|                         const std::string zero = "0"; |                         const std::string zero = "0"; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Lioncash
					Lioncash