diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-11-10 15:37:49 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-10 15:37:49 -0300 |
| commit | 611bec6e44effa90554c95ed1fe4dd4812893947 (patch) | |
| tree | 679e67c1253f88c3ceef9a98a6109ebede39e352 /Ryujinx.Graphics.GAL/Extents2DF.cs | |
| parent | bc00a251dd14f7cce4023a42bb76d23165755006 (diff) | |
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
Diffstat (limited to 'Ryujinx.Graphics.GAL/Extents2DF.cs')
| -rw-r--r-- | Ryujinx.Graphics.GAL/Extents2DF.cs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.GAL/Extents2DF.cs b/Ryujinx.Graphics.GAL/Extents2DF.cs new file mode 100644 index 00000000..8fb263c4 --- /dev/null +++ b/Ryujinx.Graphics.GAL/Extents2DF.cs @@ -0,0 +1,18 @@ +namespace Ryujinx.Graphics.GAL +{ + public struct Extents2DF + { + public float X1 { get; } + public float Y1 { get; } + public float X2 { get; } + public float Y2 { get; } + + public Extents2DF(float x1, float y1, float x2, float y2) + { + X1 = x1; + Y1 = y1; + X2 = x2; + Y2 = y2; + } + } +}
\ No newline at end of file |
