mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-22 17:56:59 +01:00
6c76bc3bc0
This seems to be the default value when the vertex attribute is disabled, or components aren't defined. This fixes a regression from #2307 in SMO where a plant in the Wooded Kingdom would draw slightly differently in the depth prepass, leading to depth test failing later on. GDK has stated that the specific case in Gundam only expects x and y to be 0, and Vulkan's undefined value for z does appear to be 0 when a vertex attribute type does not have that component, hence the value (0, 0, 0, 1). This worked in Vulkan despite also providing an all 0s attribute due to the vertex attribute binding being R32Float, so the other values were undefined. It should be changed there separately. |
||
---|---|---|
.. | ||
Helper | ||
Image | ||
Queries | ||
BackgroundContextWorker.cs | ||
Buffer.cs | ||
Constants.cs | ||
Debugger.cs | ||
EnumConversion.cs | ||
FormatInfo.cs | ||
FormatTable.cs | ||
Framebuffer.cs | ||
Handle.cs | ||
HwCapabilities.cs | ||
IOpenGLContext.cs | ||
PersistentBuffers.cs | ||
Pipeline.cs | ||
Program.cs | ||
Renderer.cs | ||
ResourcePool.cs | ||
Ryujinx.Graphics.OpenGL.csproj | ||
Shader.cs | ||
Sync.cs | ||
VertexArray.cs | ||
VertexBuffer.cs | ||
Window.cs |