mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 17:30:46 -07:00
Removing shift by 0 (#5249)
* Integral numbers should not be shifted by zero or more than their number of bits-1 * more
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@ -61,7 +61,7 @@ namespace Ryujinx.Graphics.Shader
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static int UnpackTextureId(int packedId)
|
||||
{
|
||||
return (packedId >> 0) & 0xfffff;
|
||||
return packedId & 0xfffff;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Reference in New Issue
Block a user