Some code cleanup
This commit is contained in:
parent
af8498d679
commit
654e617fe7
60 changed files with 432 additions and 591 deletions
|
@ -9,6 +9,8 @@ using System.Runtime.InteropServices;
|
|||
|
||||
namespace Ryujinx.Graphics.Gpu.Shader
|
||||
{
|
||||
using TextureDescriptor = Image.TextureDescriptor;
|
||||
|
||||
class ShaderCache
|
||||
{
|
||||
private const int MaxProgramSize = 0x100000;
|
||||
|
@ -374,7 +376,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
|
|||
return !descriptor.UnpackTextureCoordNormalized() && is2DTexture;
|
||||
}
|
||||
|
||||
private Image.TextureDescriptor GetTextureDescriptor(GpuState state, int stageIndex, int index)
|
||||
private TextureDescriptor GetTextureDescriptor(GpuState state, int stageIndex, int index)
|
||||
{
|
||||
return _context.Methods.TextureManager.GetGraphicsTextureDescriptor(state, stageIndex, index);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue