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:
parent
f35aa8e9d6
commit
86de288142
12 changed files with 405 additions and 405 deletions
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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue