diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-11-18 23:27:54 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 23:27:54 -0300 |
commit | 2e43d01d3658d82f98c9eeea8280d8ec122c0c6b (patch) | |
tree | 9d9e33db173a6dfc9e3fa0c05b3421a74f621d14 /Ryujinx.Graphics.Shader/IGpuAccessor.cs | |
parent | 7373ec579226e198d3d7825811eb592489acee1c (diff) |
Move gl_Layer from vertex to geometry if GPU does not support it on vertex (#3866)1.1.364
* Move gl_Layer from vertex to geometry if GPU does not support it on vertex
* Shader cache version bump
* PR feedback
Diffstat (limited to 'Ryujinx.Graphics.Shader/IGpuAccessor.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/IGpuAccessor.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/IGpuAccessor.cs b/Ryujinx.Graphics.Shader/IGpuAccessor.cs index f05a8527..cc690eed 100644 --- a/Ryujinx.Graphics.Shader/IGpuAccessor.cs +++ b/Ryujinx.Graphics.Shader/IGpuAccessor.cs @@ -259,6 +259,15 @@ namespace Ryujinx.Graphics.Shader } /// <summary> + /// Queries host support for writes to Layer from vertex or tessellation shader stages. + /// </summary> + /// <returns>True if writes to layer from vertex or tessellation are supported, false otherwise</returns> + bool QueryHostSupportsLayerVertexTessellation() + { + return true; + } + + /// <summary> /// Queries host GPU non-constant texture offset support. /// </summary> /// <returns>True if the GPU and driver supports non-constant texture offsets, false otherwise</returns> |