Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util_shaders: Unify BGRA copy passes | ameerj | 2021-09-16 | 1 | -2/+2 |
| | |||||
* | shader: Initial OpenGL implementation | ReinUsesLisp | 2021-07-23 | 1 | -0/+108 |
| | |||||
* | maxwell_to_gl: Remove unused code | ameerj | 2021-02-13 | 1 | -36/+2 |
| | | | | Removes unused declarations in maxwell_to_gl.h | ||||
* | video_core: Rewrite the texture cache | ReinUsesLisp | 2020-12-30 | 1 | -0/+13 |
| | | | | | | | | | | | | | | The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues. | ||||
* | video_core: Remove unnecessary enum class casting in logging messages | Lioncash | 2020-12-07 | 1 | -15/+15 |
| | | | | | | | fmt now automatically prints the numeric value of an enum class member by default, so we don't need to use casts any more. Reduces the line noise a bit. | ||||
* | video_core: Enforce -Werror=switch | ReinUsesLisp | 2020-09-16 | 1 | -0/+6 |
| | | | | This forces us to fix all -Wswitch warnings in video_core. | ||||
* | maxwell_to_gl: Implement MirrorOnceClampOGL using GL_MIRROR_CLAMP_EXT | Morph | 2020-06-30 | 1 | -0/+6 |
| | | | | Like MirrorOnceBorder, this requires the GL_EXT_texture_mirror_clamp extension. This extension is unfortunately not available on Intel's drivers (both Windows proprietary and Linux Mesa). Use GL_MIRROR_CLAMP_TO_EDGE as a fallback if the extension is unavailable. | ||||
* | maxwell_to_gl: Rename VertexType() to VertexFormat() | Morph | 2020-06-29 | 1 | -2/+2 |
| | |||||
* | maxwell_to_gl: Add 32 bit component sizes to (un)signed scaled formats | Morph | 2020-06-28 | 1 | -30/+4 |
| | | | | Add 32 bit component sizes to (un)signed scaled formats and group (un)signed normalized, scaled, and integer formats together. | ||||
* | maxwell_to_gl: Miscellaneous changes | Morph | 2020-06-18 | 1 | -48/+34 |
| | | | | | | | | | maxwell_to_gl: Log unimplemented features under UNIMPLEMENTED_MSG instead of LOG_ERROR to bring into parity with maxwell_to_vk maxwell_to_gl: Deduplicate logging in VertexType(), merging them into one. maxwell_to_gl: Return GL_NEAREST instead of GL_LINEAR if an unknown texture filter mode is encountered. maxwell_to_gl: Log the mipmap filter mode if an unknown value is passed in. maxwell_to_gl: Reorder filtering modes to start with None, then Nearest, then Linear. | ||||
* | gl_rasterizer: Implement viewport swizzles with NV_viewport_swizzle | ReinUsesLisp | 2020-05-04 | 1 | -0/+5 |
| | |||||
* | video_code: Fix implicit switch fallthrough. | Markus Wick | 2020-04-17 | 1 | -0/+2 |
| | | | | | Since yesterday, this breaks the build on linux. So let's fix it. | ||||
* | gl_rasterizer: Implement polygon modes and fill rectangles | ReinUsesLisp | 2020-03-10 | 1 | -0/+13 |
| | |||||
* | Merge pull request #3301 from ReinUsesLisp/state-tracker | Rodrigo Locatti | 2020-03-09 | 1 | -7/+7 |
|\ | | | | | video_core: Remove gl_state and use a state tracker based on dirty flags | ||||
| * | maxwell_3d: Flatten cull and front face registers | ReinUsesLisp | 2020-02-28 | 1 | -7/+7 |
| | | |||||
* | | video_core: Implement more scaler attribute formats | ReinUsesLisp | 2020-02-24 | 1 | -0/+24 |
|/ | | | | | While changing this, fix assert in vk_shader_decompiler. We now know scaled formats are expected to be float in shaders attributes. | ||||
* | maxwell_to_gl: Implement R8G8_USCALED | ReinUsesLisp | 2020-02-05 | 1 | -0/+8 |
| | |||||
* | maxwell_to_gl: Reduce unimplemented formats to LOG_ERROR | ReinUsesLisp | 2020-02-05 | 1 | -8/+4 |
| | |||||
* | maxwell_to_gl: Implement missing primitive topologies | ReinUsesLisp | 2019-12-23 | 1 | -4/+18 |
| | | | | Many of these topologies are exclusively available in OpenGL. | ||||
* | maxwell_to_gl: Fix mipmap filtering | ReinUsesLisp | 2019-09-17 | 1 | -2/+2 |
| | | | | | OpenGL texture filters follow GL_<texture_filter>_MIPMAP_<mipmap_filter> but we were using them in the opposite way. | ||||
* | maxwell_to_gl: Use GL_CLAMP to emulate Clamp wrap mode | ReinUsesLisp | 2019-05-30 | 1 | -5/+2 |
| | |||||
* | gl_rasterizer: Use GL_QUADS to emulate quads rendering | ReinUsesLisp | 2019-05-30 | 1 | -0/+2 |
| | |||||
* | maxwell_to_gl: Add TriangleFan primitive topology | ReinUsesLisp | 2019-05-18 | 1 | -0/+2 |
| | |||||
* | video_core: Silent -Wswitch warnings | ReinUsesLisp | 2019-04-18 | 1 | -27/+26 |
| | |||||
* | maxwell_3d: Implement alternate blend equations. | bunnei | 2018-11-22 | 1 | -0/+5 |
| | | | | - Used by Undertale. | ||||
* | add missing MirrorOnceBorder support where supported | Rodolfo Bogado | 2018-11-17 | 1 | -0/+6 |
| | |||||
* | Improve state management by splitting some of the states id separated function to avoid a full apply overhead | Rodolfo Bogado | 2018-11-11 | 1 | -3/+2 |
| | |||||
* | Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors. | Rodolfo Bogado | 2018-11-11 | 1 | -33/+30 |
| | |||||
* | Fixed Block Resizing algorithm and Clang Format | FernandoS27 | 2018-10-29 | 1 | -1/+0 |
| | |||||
* | Implement Mip Filter | FernandoS27 | 2018-10-29 | 1 | -5/+23 |
| | |||||
* | Fixed VAOs Float types only returning GL_FLOAT in cases that they had to return GL_HALF_FLOAT | FernandoS27 | 2018-10-22 | 1 | -2/+14 |
| | |||||
* | Implemented Depth Compare and Shadow Samplers | FernandoS27 | 2018-10-06 | 1 | -0/+25 |
| | |||||
* | gl_rasterizer: Implement stencil test. | bunnei | 2018-08-23 | 1 | -0/+24 |
| | | | | - Used by Splatoon 2. | ||||
* | renderer_opengl: Namespace OpenGL code | Lioncash | 2018-08-22 | 1 | -0/+3 |
| | | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. | ||||
* | Merge pull request #1154 from OatmealDome/topology-lines | bunnei | 2018-08-22 | 1 | -0/+2 |
|\ | | | | | maxwell_to_gl: Implement PrimitiveTopology::Lines | ||||
| * | maxwell_to_gl: Implement PrimitiveTopology::Lines | OatmealDome | 2018-08-22 | 1 | -0/+2 |
| | | | | | | Used by Splatoon 2's debug menu. | ||||
* | | GPU: Implemented the logic op functionality of the GPU. | Subv | 2018-08-21 | 1 | -0/+40 |
|/ | | | | This will ASSERT if blending is enabled at the same time as logic ops. | ||||
* | Added WrapMode MirrorOnceClampToEdge | David Marcec | 2018-08-18 | 1 | -0/+2 |
| | | | | Used by splatoon 2 | ||||
* | maxwell_to_gl: Properly handle UnsignedInt/SignedInt sizes. | bunnei | 2018-08-15 | 1 | -5/+20 |
| | |||||
* | maxwell_to_gl: Implement VertexAttribute::Size::Size_8. | bunnei | 2018-08-13 | 1 | -0/+1 |
| | | | | - Used by Breath of the Wild. | ||||
* | maxwell_to_gl: Implement PrimitiveTopology::LineStrip. | bunnei | 2018-08-13 | 1 | -0/+2 |
| | | | | - Used by Breath of the Wild. | ||||
* | GPU/Maxwell3D: Implemented an alternative set of blend factors. | Subv | 2018-08-12 | 1 | -0/+19 |
| | | | | These are used by nouveau and some games like SMO. | ||||
* | maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8. | bunnei | 2018-08-10 | 1 | -0/+1 |
| | | | | - Used by Super Mario Odyssey. | ||||
* | maxwell_to_gl: Implement VertexAttribute::Size::Size_32_32_32. | bunnei | 2018-08-10 | 1 | -0/+2 |
| | | | | - Used by Super Mario Odyssey. | ||||
* | maxwell_to_gl: Implement VertexAttribute::Size::Size_16_16_16_16. | bunnei | 2018-08-09 | 1 | -0/+1 |
| | | | | - Used by Super Mario Odyssey (in game). | ||||
* | maxwell_to_gl: Implement PrimitiveTopology::Points. | bunnei | 2018-08-09 | 1 | -0/+2 |
| | | | | - Used by Super Mario Odyssey (in game). | ||||
* | maxwell_to_gl: Implement VertexAttribute::Size::Size_8_8. | bunnei | 2018-08-08 | 1 | -0/+1 |
| | |||||
* | Merge pull request #796 from bunnei/gl-uint | bunnei | 2018-07-24 | 1 | -0/+3 |
|\ | | | | | maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. | ||||
| * | maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt. | bunnei | 2018-07-24 | 1 | -0/+3 |
| | | |||||
* | | maxwell_to_gl: Implement Texture::WrapMode::Border. | bunnei | 2018-07-24 | 1 | -0/+2 |
|/ | |||||
* | GPU: Allow using the old NV04 values for the depth test function. | Subv | 2018-07-05 | 1 | -0/+8 |
| | | | | | | These seem to be just a valid as the GL token values. Thanks @ReinUsesLisp This restores graphical output to Disgaea 5 | ||||
* | GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types. | Subv | 2018-07-04 | 1 | -0/+8 |
| | | | | Both signed and unsigned variants. | ||||
* | Update clang format | James Rowe | 2018-07-03 | 1 | -3/+2 |
| | |||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -13/+13 |
| | |||||
* | MaxwellToGL: Added conversion functions for depth test and cull mode. | Subv | 2018-07-02 | 1 | -0/+50 |
| | |||||
* | GPU: Support changing the texture swizzles for Maxwell textures. | Subv | 2018-06-07 | 1 | -0/+21 |
| | |||||
* | maxwell_to_gl: Implement WrapMode Mirror. | bunnei | 2018-06-06 | 1 | -0/+2 |
| | |||||
* | maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8. | bunnei | 2018-04-29 | 1 | -0/+12 |
| | |||||
* | renderer_opengl: Implement BlendEquation and BlendFunc. | bunnei | 2018-04-18 | 1 | -0/+64 |
| | |||||
* | Merge pull request #343 from Subv/tex_wrap_4 | bunnei | 2018-04-17 | 1 | -0/+7 |
|\ | | | | | GPU: Implement some wrap modes | ||||
| * | MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT). | Subv | 2018-04-17 | 1 | -0/+2 |
| | | |||||
| * | MaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 (Clamp, GL_CLAMP). | Subv | 2018-04-17 | 1 | -0/+5 |
| | | | | | | | | This clamp mode was removed from OpenGL as of 3.1, we can emulate it by using GL_CLAMP_TO_BORDER to get the border color of the texture, and then manually sampling the edge to mix them in the fragment shader. | ||||
* | | gl_rendering: Use NGLOG* for changed code. | bunnei | 2018-04-17 | 1 | -7/+8 |
| | | |||||
* | | gl_rasterizer: Implement indexed vertex mode. | bunnei | 2018-04-17 | 1 | -1/+15 |
|/ | |||||
* | maxwell_to_gl: Add a few types, etc. | bunnei | 2018-04-14 | 1 | -0/+10 |
| | |||||
* | GL: Added functions to convert Maxwell tex filters and wrap modes to OpenGL. | Subv | 2018-04-07 | 1 | -0/+23 |
| | |||||
* | gl_rasterizer: Move PrimitiveTopology check to MaxwellToGL. | bunnei | 2018-03-27 | 1 | -0/+10 |
| | |||||
* | maxwel_to_gl: Fix string formatting in log statements. | bunnei | 2018-03-27 | 1 | -2/+2 |
| | |||||
* | maxwell_to_gl: Add module and function for decoding VertexType. | bunnei | 2018-03-27 | 1 | -0/+40 |