ryujinx-mirror/Ryujinx.Graphics.OpenGL
riperiperi 6c76bc3bc0
Change disabled vertex attribute value to (0, 0, 0, 1) (#2573)
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.
2021-08-20 18:09:30 -03:00
..
Helper Miria: The Death of OpenTK 3 (#2194) 2021-04-14 12:28:43 +02:00
Image Workaround for cubemap view data upload bug on Intel (#2539) 2021-08-11 23:19:28 +02:00
Queries End empty gl queries before returning them to the pool. (#1806) 2020-12-12 10:31:39 +11:00
BackgroundContextWorker.cs Assign _backgroundContext before starting its worker thread. (#2299) 2021-05-20 15:29:10 +02:00
Buffer.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00
Constants.cs Fix transform feedback errors caused by host pause/resume and multiple uses (#1634) 2020-10-25 17:23:42 -03:00
Debugger.cs Rename DebugLevel Performance to Slowdowns (#1450) 2020-08-07 15:30:06 +02:00
EnumConversion.cs Fix incorrect GPU GL blend func values (#1612) 2020-10-13 14:45:41 +11:00
FormatInfo.cs Add basic error logging to the GPU 2020-01-09 02:13:00 +01:00
FormatTable.cs Implement ETC2 (RGB) texture format (#2000) 2021-02-08 10:23:56 +11:00
Framebuffer.cs Use copy dependencies for the Intel/AMD view format workaround (#2144) 2021-05-16 20:43:27 +02:00
Handle.cs Spanify Graphics Abstraction Layer (#1226) 2020-05-23 11:46:09 +02:00
HwCapabilities.cs Only use persistent buffers to flush on NVIDIA and Windows+AMD (#2489) 2021-07-18 11:45:50 -03:00
IOpenGLContext.cs Miria: The Death of OpenTK 3 (#2194) 2021-04-14 12:28:43 +02:00
PersistentBuffers.cs Return mapped buffer pointer directly for flush, WriteableRegion for textures (#2494) 2021-07-19 19:10:54 -03:00
Pipeline.cs Ensure render scale is initialized to 1 on the backend (#2543) 2021-08-11 19:44:41 -03:00
Program.cs Replace BGRA and scale uniforms with a uniform block (#2496) 2021-08-11 21:33:43 +02:00
Renderer.cs Ensure render scale is initialized to 1 on the backend (#2543) 2021-08-11 19:44:41 -03:00
ResourcePool.cs Texture/Buffer Memory Management Improvements (#1408) 2020-09-10 16:44:04 -03:00
Ryujinx.Graphics.OpenGL.csproj Miria: The Death of OpenTK 3 (#2194) 2021-04-14 12:28:43 +02:00
Shader.cs Use explicit buffer and texture bindings on shaders (#1666) 2020-11-08 12:10:00 +01:00
Sync.cs Only flush commands when creating sync on Intel/AMD (windows) (#2165) 2021-04-03 11:10:37 +11:00
VertexArray.cs Change disabled vertex attribute value to (0, 0, 0, 1) (#2573) 2021-08-20 18:09:30 -03:00
VertexBuffer.cs Initial work 2020-01-09 02:13:00 +01:00
Window.cs Add Screenshot Feature (#2354) 2021-06-28 22:09:43 +02:00