aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/VertexArray.cs
AgeCommit message (Collapse)Author
2022-11-30Ensure that vertex attribute buffer index is valid on GPU (#3942)gdkchan
* Ensure that vertex attribute buffer index is valid on GPU * Remove vertex buffer validation code from OpenGL * Remove some fields that are no longer necessary
2022-08-11OpenGL: Limit vertex buffer range for non-indexed draws (#3542)gdkchan
* Limit vertex buffer range for non-indexed draws * Fix typo
2021-08-26Add support for HLE macros and accelerate MultiDrawElementsIndirectCount #2 ↵mpnico
(#2557) * Add support for HLE macros and accelerate MultiDrawElementsIndirectCount * Add missing barrier * Fix index buffer count * Add support check for each macro hle before use * Add missing xml doc Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2021-08-20Change disabled vertex attribute value to (0, 0, 0, 1) (#2573)riperiperi
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-05-24Fix value of constant vertex attributes (#2307)gdkchan
2021-01-27Avoid some redundant GL calls (#1958)gdkchan
2020-10-26Fix vertex buffer handle null check (#1638)gdkchan
2020-05-23Spanify Graphics Abstraction Layer (#1226)gdkchan
* Spanify Graphics Abstraction Layer * Be explicit about BufferHandle size
2020-03-30Support constant attributes (with a value of zero) (#1066)gdkchan
* Support constant attributes (with a value of zero) * Remove extra line
2020-01-09GPU resource disposalgdkchan
2020-01-09Some code cleanupgdkchan
2020-01-09Add basic error logging to the GPUgdkchan
2020-01-09Initial workgdk