Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gl_rasterizer: Implement RASTERIZE_ENABLE | ReinUsesLisp | 2019-12-18 | 1 | -0/+4 |
| | | | | | | | | RASTERIZE_ENABLE is the opposite of GL_RASTERIZER_DISCARD. Implement it naturally using this. NVN games expect rasterize to be enabled by default, reflect that in our initial GPU state. | ||||
* | Maxwell3D: Implement Depth Mode. | Fernando Sahmkow | 2019-12-11 | 1 | -0/+1 |
| | | | | | This commit finishes adding depth mode that was reverted before due to other unresolved issues. | ||||
* | gl_shader_decompiler: Normalize image bindings | ReinUsesLisp | 2019-11-23 | 1 | -1/+2 |
| | |||||
* | gl_shader_cache: Remove dynamic BaseBinding specialization | ReinUsesLisp | 2019-11-23 | 1 | -2/+3 |
| | |||||
* | gl_rasterizer: Emulate viewport flipping with ARB_clip_control | ReinUsesLisp | 2019-11-07 | 1 | -0/+5 |
| | | | | | | | Emulates negative y viewports with ARB_clip_control. This allows us to more easily emulated pipelines with tessellation and/or geometry shader stages. It also avoids corrupting games with transform feedbacks and negative viewports (gl_Position.y was being modified). | ||||
* | gl_state: Move dirty checks to individual apply calls instead of Apply | ReinUsesLisp | 2019-10-30 | 1 | -25/+25 |
| | | | | | This requires removing constness from some methods, but for consistency it's removed in all methods. | ||||
* | gl_state: Remove ApplyDefaultState | ReinUsesLisp | 2019-10-30 | 1 | -4/+1 |
| | | | | OpenGL has defaults values we can trust. Remove these. | ||||
* | gl_state: Remove unused Citra TextureUnits | ReinUsesLisp | 2019-10-30 | 1 | -23/+0 |
| | |||||
* | gl_state: Move initializers from constructor to class declaration | ReinUsesLisp | 2019-10-30 | 1 | -72/+74 |
| | |||||
* | renderer_opengl: Fix sRGB blits | ReinUsesLisp | 2019-09-11 | 1 | -10/+0 |
| | | | | | | | | | Removes the sRGB hack of tracking if a frame used an sRGB rendertarget to apply at least once to blit the final texture as sRGB. Instead of doing this apply sRGB if the presented image has sRGB. Also enable sRGB by default on Maxwell3D registers as some games seem to assume this. | ||||
* | gl_state: Split textures and samplers into two arrays | ReinUsesLisp | 2019-09-06 | 1 | -16/+2 |
| | |||||
* | gl_state: Add support for glBindImageTextures | ReinUsesLisp | 2019-09-06 | 1 | -0/+3 |
| | |||||
* | GL_State: Feedback and fixes | Fernando Sahmkow | 2019-07-17 | 1 | -8/+8 |
| | |||||
* | Maxwell3D: Address Feedback | Fernando Sahmkow | 2019-07-17 | 1 | -1/+1 |
| | |||||
* | GL_Rasterizer: Corrections to Clearing. | Fernando Sahmkow | 2019-07-17 | 1 | -5/+1 |
| | |||||
* | Maxwell3D: Implement State Dirty Flags. | Fernando Sahmkow | 2019-07-17 | 1 | -1/+36 |
| | |||||
* | gl_rasterizer: Move alpha testing to the OpenGL pipeline | ReinUsesLisp | 2019-05-30 | 1 | -0/+7 |
| | | | | Removes the alpha testing code from each fragment shader invocation. | ||||
* | gl_state: Rework to enable individual applies | ReinUsesLisp | 2019-04-04 | 1 | -22/+30 |
| | |||||
* | gl_state: Remove texture target tracking | ReinUsesLisp | 2019-01-30 | 1 | -2/+0 |
| | |||||
* | gl_rasterizer_cache: Move swizzling to textures instead of state | ReinUsesLisp | 2019-01-30 | 1 | -10/+0 |
| | |||||
* | gl_rasterizer: Workaround Intel VAO DSA bug | ReinUsesLisp | 2019-01-09 | 1 | -1/+3 |
| | | | | | | | There is a bug on Intel's blob driver where it fails to properly build a vertex array object if it's not bound even after creating it with glCreateVertexArrays. This workaround binds it after creating it to bypass the issue. | ||||
* | gl_rasterizer: Use DSA for vertex array objects | ReinUsesLisp | 2019-01-06 | 1 | -4/+0 |
| | |||||
* | gl_state: Drop uniform buffer state tracking | ReinUsesLisp | 2019-01-06 | 1 | -1/+0 |
| | |||||
* | Merge pull request #1808 from Tinob/master | bunnei | 2018-11-28 | 1 | -1/+1 |
|\ | | | | | Fix clip distance and viewport | ||||
| * | Add support for Clip Distance enabled register | Rodolfo Bogado | 2018-11-27 | 1 | -1/+1 |
| | | |||||
* | | Implement depth clamp | Rodolfo Bogado | 2018-11-27 | 1 | -0/+6 |
|/ | |||||
* | GPU States: Implement Polygon Offset. This is used in SMO all the time. (#1784) | Marcos | 2018-11-27 | 1 | -0/+10 |
| | | | | | | | | * GPU States: Implement Polygon Offset. This is used in SMO all the time. * Clang Format fixes. * Initialize polygon_offset in the constructor. | ||||
* | Add support for clear_flags register | Rodolfo Bogado | 2018-11-24 | 1 | -4/+5 |
| | |||||
* | drop support for non separate alpha as it seems to cause issues in some games | Rodolfo Bogado | 2018-11-18 | 1 | -1/+0 |
| | |||||
* | add AlphaToCoverage and AlphaToOne | Rodolfo Bogado | 2018-11-17 | 1 | -0/+5 |
| | |||||
* | add support for fragment_color_clamp | Rodolfo Bogado | 2018-11-17 | 1 | -0/+4 |
| | |||||
* | fix viewport and scissor behavior | Rodolfo Bogado | 2018-11-17 | 1 | -10/+12 |
| | |||||
* | gl_state: Amend compilation warnings | Lioncash | 2018-11-13 | 1 | -1/+1 |
| | | | | | Makes float -> integral conversions explicit via casts and also silences a sign conversion warning. | ||||
* | Improve state management by splitting some of the states id separated function to avoid a full apply overhead | Rodolfo Bogado | 2018-11-11 | 1 | -0/+4 |
| | |||||
* | Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets. | Rodolfo Bogado | 2018-11-05 | 1 | -3/+5 |
| | |||||
* | Implement multi-target viewports and blending | Rodolfo Bogado | 2018-11-05 | 1 | -21/+31 |
| | |||||
* | Improve OpenGL state handling | Rodolfo Bogado | 2018-10-31 | 1 | -1/+12 |
| | |||||
* | Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support | Rodolfo Bogado | 2018-10-28 | 1 | -1/+13 |
| | |||||
* | gl_rasterizer: Implement primitive restart. | bunnei | 2018-10-26 | 1 | -0/+5 |
| | |||||
* | gl_rasterizer: Implement depth range. | bunnei | 2018-10-26 | 1 | -3/+5 |
| | |||||
* | Merge pull request #1411 from ReinUsesLisp/point-size | bunnei | 2018-09-29 | 1 | -0/+4 |
|\ | | | | | video_core: Implement point_size and add point state sync | ||||
| * | video_core: Implement point_size and add point state sync | ReinUsesLisp | 2018-09-28 | 1 | -0/+4 |
| | | |||||
* | | gl_state: Pack sampler bindings into a single ARB_multi_bind | ReinUsesLisp | 2018-09-28 | 1 | -1/+2 |
|/ | |||||
* | gl_state: Remove unused type alias | Lioncash | 2018-09-22 | 1 | -4/+0 |
| | | | | | | This isn't used anywhere within the header, so we can remove it, along with the include that was previously necessary. This also uncovers an indirect include in the cpp file for the assertion macros. | ||||
* | gl_state: Keep track of texture target. | bunnei | 2018-09-08 | 1 | -3/+5 |
| | |||||
* | gl_state: Update to handle stencil front/back face separately. | bunnei | 2018-08-23 | 1 | -8/+10 |
| | |||||
* | renderer_opengl: Namespace OpenGL code | Lioncash | 2018-08-22 | 1 | -0/+4 |
| | | | | | | | Namespaces all OpenGL code under the OpenGL namespace. Prevents polluting the global namespace and allows clear distinction between other renderers' code in the future. | ||||
* | GLState: Allow enabling/disabling GL_COLOR_LOGIC_OP independently from blending. | Subv | 2018-08-21 | 1 | -1/+4 |
| | |||||
* | gl_state: Don't track constant buffer mappings. | Markus Wick | 2018-08-12 | 1 | -8/+0 |
| | |||||
* | gl_rasterizer: Use the stream buffer for constant buffers. | Markus Wick | 2018-08-12 | 1 | -0/+2 |
| | |||||
* | maxwell_3d: Use correct const buffer size and check bounds. | bunnei | 2018-08-08 | 1 | -1/+5 |
| | | | | - Fixes mem corruption with Super Mario Odyssey and Pokkén Tournament DX. | ||||
* | gl_state: Make texture_units a std::array | Lioncash | 2018-08-02 | 1 | -2/+3 |
| | | | | Gets rid of the use of a raw C array. | ||||
* | Merge pull request #593 from bunnei/fix-swizzle | bunnei | 2018-06-27 | 1 | -1/+14 |
|\ | | | | | gl_state: Fix state management for texture swizzle. | ||||
| * | gl_state: Fix state management for texture swizzle. | bunnei | 2018-06-26 | 1 | -1/+14 |
| | | |||||
* | | gl_state: Remove unused state management from 3DS. | bunnei | 2018-06-26 | 1 | -28/+0 |
|/ | |||||
* | GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit. | Subv | 2018-06-07 | 1 | -0/+6 |
| | |||||
* | GPU: Use the buffer hints from the shader decompiler to upload only the necessary const buffers for each shader stage. | Subv | 2018-04-15 | 1 | -1/+1 |
| | |||||
* | GPU: Allow configuring ssbos in the opengl state manager. | Subv | 2018-04-15 | 1 | -0/+6 |
| | |||||
* | GL: Rename PicaTexture to MaxwellTexture. | Subv | 2018-04-07 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer: Use 32 texture units instead of 3. | bunnei | 2018-03-27 | 1 | -1/+1 |
| | |||||
* | gl_state: Sync latest version with Citra. | bunnei | 2018-03-20 | 1 | -8/+25 |
| | |||||
* | gl_rasterizer: add clipping plane z<=0 defined in PICA | wwylele | 2017-08-21 | 1 | -0/+3 |
| | |||||
* | gl_rasterizer: use texture buffer for proctex LUT | wwylele | 2017-07-01 | 1 | -5/+5 |
| | |||||
* | gl_rasterizer: use texture buffer for fog LUT | wwylele | 2017-06-22 | 1 | -1/+1 |
| | |||||
* | gl_rasterizer: manage texture ids in one place | wwylele | 2017-06-21 | 1 | -0/+23 |
| | |||||
* | gl_rasterizer/lighting: fix LUT interpolation | wwylele | 2017-06-21 | 1 | -2/+2 |
| | |||||
* | gl_rasterizer: implement procedural texture | wwylele | 2017-05-20 | 1 | -0/+20 |
| | |||||
* | OpenGL: Drop framebuffer completeness check. | Markus Wick | 2016-12-07 | 1 | -3/+0 |
| | | | | | | | This OpenGL call synchronize the worker thread of the nvidia blob. It can be verified on linux with the __GL_THREADED_OPTIMIZATIONS=1 environment variable. Those errors should not happen on tested drivers. It was used as a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=94148 | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -20/+20 |
| | |||||
* | OpenGL: Implement fog | Jannik Vogel | 2016-06-07 | 1 | -0/+4 |
| | |||||
* | OpenGL: Support blend equation | Jannik Vogel | 2016-05-12 | 1 | -0/+2 |
| | |||||
* | VideoCore: Run include-what-you-use and fix most includes. | Emmanuel Gil Peyrot | 2016-04-30 | 1 | -1/+0 |
| | |||||
* | HWRasterizer: Texture forwarding | tfarley | 2016-04-21 | 1 | -11/+16 |
| | |||||
* | renderer_opengl: Use textures for fragment shader LUTs instead of UBOs. | bunnei | 2016-02-05 | 1 | -0/+4 |
| | | | | | - Gets us LUT interpolation for free. - Some older Intel GPU drivers did not support the big UBOs needed to store the LUTs. | ||||
* | OpenGL: Add support for glFrontFace in the state tracker | Yuri Kunde Schlesner | 2015-12-05 | 1 | -0/+1 |
| | |||||
* | FragShader: Use an UBO instead of several individual uniforms | Subv | 2015-11-19 | 1 | -0/+1 |
| | |||||
* | Initial implementation of fragment shader generation with caching. | Subv | 2015-10-22 | 1 | -0/+1 |
| | |||||
* | OpenGL: Add support for Sampler Objects to state tracker | Yuri Kunde Schlesner | 2015-09-03 | 1 | -0/+2 |
| | |||||
* | Replace the previous OpenGL loader with a glad-generated 3.3 one | Yuri Kunde Schlesner | 2015-08-30 | 1 | -1/+1 |
| | | | | | | The main advantage of switching to glad from glLoadGen is that, apart from being actively maintained, it supports a customizable entrypoint loader function, which makes it possible to also support OpenGL ES. | ||||
* | GLRasterizer: Implemented stencil testing in the hw renderer. | Subv | 2015-08-20 | 1 | -0/+3 |
| | |||||
* | OpenGL: Fix state tracking in situations with reused object handles | Yuri Kunde Schlesner | 2015-08-06 | 1 | -0/+6 |
| | | | | | | | | | | | | If an OpenGL object is created, bound to a binding using the state tracker, and then destroyed, a newly created object can be assigned the same numeric handle by OpenGL. However, even though it is a new object, and thus needs to be bound to the binding again, the state tracker compared the current and previous handles and concluded that no change needed to be made, leading to failure to bind objects in certain cases. This manifested as broken text in VVVVVV, which this commit fixes along with similar texturing problems in other games. | ||||
* | OpenGL: Remove redundant texture.enable_2d field from OpenGLState | Yuri Kunde Schlesner | 2015-08-06 | 1 | -1/+0 |
| | | | | | All uses of this field where it's false can just set the texture id to 0 instead. | ||||
* | Implemented glColorMask | tfarley | 2015-06-09 | 1 | -0/+7 |
| | |||||
* | Pica: Implement LogicOp function. | bunnei | 2015-05-31 | 1 | -0/+2 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | gl_state: Remove unnecessary const specifier on Apply | Lioncash | 2015-05-23 | 1 | -1/+1 |
| | |||||
* | OpenGL renderer | tfarley | 2015-05-23 | 1 | -0/+70 |