aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2018-07-25Merge pull request #815 from Subv/z32f_texbunnei
GPU: Allow using Z32 as a texture format.
2018-07-25Merge pull request #814 from Subv/rt_r8bunnei
GPU: Allow the usage of R8 as a render target format.
2018-07-24Merge pull request #809 from lioncash/rasterizerbunnei
gl_rasterizer: Minor cleanup
2018-07-24Merge pull request #811 from Subv/code_address_assertbunnei
GPU: Remove the assert that required the CODE_ADDRESS to be 0.
2018-07-24GPU: Implemented the Z32_S8_X24 depth buffer format.Subv
2018-07-24GPU: Allow using Z32 as a texture format.Subv
2018-07-24GPU: Allow the usage of R8 as a render target format.Subv
2018-07-24GPU: Remove the assert that required the CODE_ADDRESS to be 0.Subv
Games usually just leave it at 0 but nouveau sets it to something else. This already works fine, the assert is useless.
2018-07-24GPU: Implemented the R16 and R16F texture formats.Subv
2018-07-24gl_rasterizer: Replace magic number with GL_INVALID_INDEX in SetupConstBuffers()Lioncash
This is just the named constant that OpenGL provides, so we can use that instead of using a literal -1
2018-07-24gl_rasterizer: Use std::string_view instead of std::string when checking for ↵Lioncash
extensions We can avoid heap allocations here by just using a std::string_view instead of performing unnecessary copying of the string data.
2018-07-24gl_rasterizer: Use in-class member initializers where applicableLioncash
We can just assign to the members directly in these cases.
2018-07-24video_core/memory_manager: Replace a loop with std::array's fill() function ↵Lioncash
in PageSlot() We already have a function that does what this code was doing, so let's use that instead.
2018-07-24video_core/memory_manager: Avoid repeated unnecessary page slot lookupsLioncash
We don't need to keep calling the same function over and over again in a loop, especially when the behavior is slightly non-trivial. We can just keep a reference to the looked up location and do all the checking and assignments based off it instead.
2018-07-24Merge pull request #799 from Subv/tex_r32fbunnei
GPU: Implement texture format R32F.
2018-07-24Merge pull request #796 from bunnei/gl-uintbunnei
maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.
2018-07-23gl_rasterizer: Implement texture border color.bunnei
2018-07-23maxwell_to_gl: Implement Texture::WrapMode::Border.bunnei
2018-07-23GPU: Implement texture format R32F.Subv
2018-07-23Merge pull request #791 from bunnei/rg32f-rgba32f-bgra8bunnei
gl_rasterizer_cache: Implement formats BGRA8_UNORM/RGBA32_FLOAT/RG32_FLOAT
2018-07-23maxwell_to_gl: Implement VertexAttribute::Type::UnsignedInt.bunnei
2018-07-23Merge pull request #792 from lioncash/retvalbunnei
gl_shader_decompiler: Correct return value of WriteTexsInstruction()
2018-07-23Merge pull request #790 from bunnei/shader-print-instrbunnei
gl_shader_decompiler: Print instruction value in shader comments.
2018-07-23Merge pull request #788 from bunnei/shader-check-zerobunnei
gl_shader_decompiler: Check if SetRegister result is ZeroIndex.
2018-07-23gl_shader_decompiler: Correct return value of WriteTexsInstruction()Lioncash
This should be returning void, not a std::string
2018-07-23gl_shader_decompiler: Implement shader instruction TLDS.bunnei
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat RG32_FLOAT.bunnei
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat RGBA32_FLOAT.bunnei
2018-07-23gl_rasterizer_cache: Implement RenderTargetFormat BGRA8_UNORM.bunnei
2018-07-23gl_rasterizer_cache: Add missing log statements.bunnei
2018-07-23gl_shader_decompiler: Print instruction value in shader comments.bunnei
2018-07-23gl_shader_decompiler: Check if SetRegister result is ZeroIndex.bunnei
2018-07-23gl_shader_decompiler: Simplify GetCommonDeclarations()Lioncash
2018-07-22Merge pull request #769 from bunnei/shader-mask-fixesbunnei
shader_bytecode: Implement other TEXS masks.
2018-07-22gl_shader_decompiler: Remove redundant Subroutine construction in ↵Lioncash
AddSubroutine() We don't need to toss away the Subroutine instance after the find() call and reconstruct another instance with the same data right after it. Particularly give Subroutine contains a std::set.
2018-07-22shader_bytecode: Implement other TEXS masks.bunnei
2018-07-22Merge pull request #767 from bunnei/shader-cleanupbunnei
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
2018-07-22gl_shader_decompiler: Remove unused state tracking and minor cleanup.bunnei
2018-07-22gl_shader_decompiler: Implement SEL instruction.bunnei
2018-07-21gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load.bunnei
2018-07-21gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set.bunnei
2018-07-21gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.bunnei
2018-07-21gl_rasterizer: Use zeta_enable register to enable depth buffer.bunnei
2018-07-21maxwell_3d: Add depth buffer enable, width, and height registers.bunnei
2018-07-21Merge pull request #748 from lioncash/namespacebunnei
video_core: Use nested namespaces where applicable
2018-07-21Merge pull request #747 from lioncash/unimplementedbunnei
gl_shader_manager: Remove unimplemented function prototype
2018-07-20gl_shader_manager: Replace unimplemented function prototypeLioncash
This was just a linker error waiting to happen.
2018-07-20gpu: Rename Get3DEngine() to Maxwell3D()Lioncash
This makes it match its const qualified equivalent.
2018-07-20video_core: Use nested namespaces where applicableLioncash
Compresses a few namespace specifiers to be more compact.
2018-07-20Merge pull request #738 from lioncash/signbunnei
gl_state: Get rid of mismatched sign conversions in Apply()