aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-09-12Use ARB_multi_bind for uniform buffers (#1287)ReinUsesLisp
* gl_rasterizer: use ARB_multi_bind for uniform buffers * address feedback
2018-09-12gl_rasterizer_cache: B5G6R5U should use GL_RGB8 as an internal format.bunnei
- Fixes a regression with Sonic Mania with ARB_texture_storage.
2018-09-12Merge pull request #1263 from FernandoS27/tex-modebunnei
shader_decompiler: Implemented (Partially) Texture Processing Modes
2018-09-12Implemented Texture Processing ModesFernandoS27
2018-09-11Merge pull request #1278 from tech4me/bg-color-fixbunnei
Port Citra #4047 & #4052: add change background color support
2018-09-11Merge pull request #1295 from bunnei/accurate-copiesbunnei
gl_rasterizer_cache: Improve accuracy of caching and copies.
2018-09-11Merge pull request #1294 from degasus/optimizationsbunnei
gl_rasterizer: Use ARB_texture_storage.
2018-09-11gl_rasterizer_cache: Always blit on recreate, regardless of format.bunnei
- Fixes several rendering issues with Super Mario Odyssey.
2018-09-11gl_shader_cache: Remove cache_width/cache_height.bunnei
- This was once an optimization, but we no longer need it with the cache reserve. - This is also inaccurate.
2018-09-11gl_rasterizer: Use ARB_texture_storage.Markus Wick
It allows us to use texture views and it reduces the overhead within the GPU driver. But it disallows us to reallocate the texture, but we don't do so anyways. In the end, it is the new way to allocate textures, so there is no need to use the old way.
2018-09-11Implemented LEA and PSETFernandoS27
2018-09-11Implemented encodings for LEA and PSETFernandoS27
2018-09-11Fixed renderdoc input/output textures not working due to render targetsDavid Marcec
2018-09-10Merge pull request #1286 from bunnei/multi-clearbunnei
gl_rasterizer: Implement clear for non-zero render targets.
2018-09-10Merge pull request #1285 from bunnei/depth-fixbunnei
gl_rasterizer_cache: Only use depth for applicable texture formats.
2018-09-10Merge pull request #1284 from bunnei/bgra8_srgbbunnei
gl_rasterizer_cache: Implement RenderTargetFormat::BGRA8_SRGB.
2018-09-10video_core: Refactor command_processor.Markus Wick
Inline the WriteReg helper as it is called ~20k times per frame.
2018-09-10video_core: Move command buffer loop.Markus Wick
This moves the hot loop into video_core. This refactoring shall reduce the CPU overhead of calling ProcessCommandList.
2018-09-10rasterizer: Drop unused handler.Markus Wick
This virtual function is called in a very hot spot, and it does nothing. If this kind of feature is required, please be more specific and add callbacks in the switch statement within Maxwell3D::WriteReg. There is no point in having another switch statement within the rasterizer.
2018-09-10gl_rasterizer_cache: Only use depth for applicable texture formats.bunnei
- Fixes an issue with Octopath Traveler leaving stale data here.
2018-09-10gl_rasterizer: Implement clear for non-zero render targets.bunnei
- Several misc. changes to ConfigureFramebuffers in support of this.
2018-09-10gl_rasterizer_cache: Implement RenderTargetFormat::BGRA8_SRGB.bunnei
- Used by Octopath Traveler (with multiple render targets).
2018-09-09gl_rasterizer: Implement multiple color attachments.bunnei
2018-09-09Merge pull request #1268 from FernandoS27/tmmlbunnei
shader_decompiler: Implemented TMML
2018-09-09Implemented TMMLFernandoS27
2018-09-09Merge pull request #1272 from Subv/dma_2dbunnei
GPU/DMA: Partially implemented the 'enable_2d' bit in the DMA engine.
2018-09-09Merge pull request #1280 from zero334/improvementsbunnei
video_core: fixed arithmetic overflow warnings & improved code style
2018-09-09Implemented TXQ dimension query type, used by SMO.FernandoS27
2018-09-09video_core: fixed arithmetic overflow warnings & improved code stylePatrick Elsässer
- Fixed all warnings, for renderer_opengl items, which were indicating a possible incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. - Added constexpr where possible.
2018-09-08Port Citra #4047 & #4052: add change background color supporttech4me
2018-09-08Change name of TEXQ to TXQ, in order to match NVIDIA's namingFernandoS27
2018-09-08GPU/DMA: Partially implemented the 'enable_2d' bit in the DMA engine.Subv
When not set, this tells the GPU to only use the X size when performing a DMA copy. This is only implemented for linear->linear and tiled->tiled copies. Conversion copies still retain the assert. This bit is unset by some games for various purposes, and by nouveau when copying the vertex buffers.
2018-09-08Merge pull request #1256 from bunnei/tex-target-supportbunnei
Initial support for non-2D textures
2018-09-08gl_rasterizer: Use baseInstance instead of moving the buffer points.bunnei
This hopefully helps our cache not to redundant upload the vertex buffer. # Conflicts: # src/video_core/renderer_opengl/gl_rasterizer.cpp
2018-09-08video_core: Arithmetic overflow warning fix for gl_rasterizer (#1262)Patrick Elsässer
* video_core: Arithmetic overflow fix for gl_rasterizer - Fixed warnings, which were indicating incorrect behavior from integral promotion rules and types larger than those in which arithmetic is typically performed. - Added const for variables where possible and meaningful. * Changed the casts from C to C++ style Changed the C-style casts to C++ casts as proposed. Took also care about signed / unsigned behaviour.
2018-09-08gl_rasterizer_cache: Improve accuracy of RecreateSurface for non-2D textures.bunnei
2018-09-08maxwell_3d: Remove assert that no longer applies.bunnei
2018-09-08gl_rasterizer_cache: Partially implement several non-2D texture types.bunnei
2018-09-08gl_shader_decompiler: Partially implement several non-2D texture types (Subv).bunnei
2018-09-08gl_rasterizer: Implement texture wrap mode p.bunnei
2018-09-08gl_rasterizer_cache: Track texture depth.bunnei
2018-09-08gl_rasterizer_cache: Remove impl. of FlushGLBuffer.bunnei
- Will not work for non-2d textures, and was not used anyways.
2018-09-08gl_rasterizer_cache: Keep track of texture type per surface.bunnei
2018-09-08gl_rasterizer_cache: Remove unused DownloadGLTexture.bunnei
2018-09-08gl_state: Keep track of texture target.bunnei
2018-09-06Merge pull request #1252 from lioncash/headerbunnei
video_core/CMakeLists: Add missing gl_buffer_cache.h
2018-09-06Merge pull request #1253 from lioncash/explicitbunnei
video_core/gl_buffer_cache: Minor tidying changes
2018-09-06Merge pull request #1255 from bunnei/minor-optbunnei
gl_rasterizer: Call state.Apply only once on SetupShaders.
2018-09-06gl_rasterizer: Call state.Apply only once on SetupShaders.bunnei
2018-09-06gl_shader_decompiler: Implement saturate mode for IPA.bunnei