Implement DrawTexture functionality (#2747)
* Implement DrawTexture functionality * Non-NVIDIA support * Disable some features that should not affect draw texture (slow path) * Remove space from shader source * Match 2D engine names * Fix resolution scale and add missing XML docs * Disable transform feedback for draw texture fallback
This commit is contained in:
parent
bc00a251dd
commit
611bec6e44
14 changed files with 421 additions and 14 deletions
|
@ -743,7 +743,18 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed
|
|||
public fixed uint ReservedF94[19];
|
||||
public RtDepthStencilState RtDepthStencilState;
|
||||
public ScreenScissorState ScreenScissorState;
|
||||
public fixed uint ReservedFFC[89];
|
||||
public fixed uint ReservedFFC[33];
|
||||
public int DrawTextureDstX;
|
||||
public int DrawTextureDstY;
|
||||
public int DrawTextureDstWidth;
|
||||
public int DrawTextureDstHeight;
|
||||
public long DrawTextureDuDx;
|
||||
public long DrawTextureDvDy;
|
||||
public int DrawTextureSamplerId;
|
||||
public int DrawTextureTextureId;
|
||||
public int DrawTextureSrcX;
|
||||
public int DrawTextureSrcY;
|
||||
public fixed uint Reserved10B0[44];
|
||||
public Array16<VertexAttribState> VertexAttribState;
|
||||
public fixed uint Reserved11A0[31];
|
||||
public RtControl RtControl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue