summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-15Merge pull request #3512 from bunnei/fix-renderdocRodrigo Locatti
renderer_opengl: Keep frames synchronized when using a GPU debugger.
2020-03-15vk_shader_decompiler: fix linux buildmakigumo
2020-03-14renderer_opengl: Keep presentation frames in lock-step when GPU debugging.bunnei
- Fixes renderdoc with OpenGL renderer.
2020-03-14gl_device: Add option to check GL_EXT_debug_tool.bunnei
2020-03-14Merge pull request #3508 from FernandoS27/page-tablebunnei
PageTable: move backing addresses to a children class as the CPU page table does not need them.
2020-03-14Merge pull request #3500 from ReinUsesLisp/incompatible-typesFernando Sahmkow
texture_cache: Report incompatible textures as black
2020-03-14Merge pull request #3499 from ReinUsesLisp/depth-2d-arrayFernando Sahmkow
texture_cache/surface_params: Force depth=1 on 2D textures
2020-03-14PageTable: move backing addresses to a children class as the CPU page table ↵Fernando Sahmkow
does not need them. This PR aims to reduce the memory usage in the CPU page table by moving GPU specific parameters into a child class. This saves 1Gb of Memory for most games.
2020-03-13vk/gl_shader_decompiler: Silence assertion on computeReinUsesLisp
2020-03-13vk_shader_decompiler: Fix default varying regressionReinUsesLisp
2020-03-13maxwell_3d: Add padding words to XFB entriesReinUsesLisp
Use INSERT_UNION_PADDING_WORDS instead of alignas to ensure a size requirement.
2020-03-13gl_shader_decompiler: Fix implicit conversion errorsReinUsesLisp
2020-03-13vk_shader_decompiler: Fix implicit type conversionRodrigo Locatti
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2020-03-13vk_rasterizer: Implement transform feedback binding zeroReinUsesLisp
2020-03-13vk_shader_decompiler: Add XFB decorations to generic varyingsReinUsesLisp
2020-03-13vk_device: Enable VK_EXT_transform_feedback when availableReinUsesLisp
2020-03-13vk_device: Shrink formatless capability name sizeReinUsesLisp
2020-03-13shader/transform_feedback: Expose buffer strideReinUsesLisp
2020-03-13vk_shader_decompiler: Use registry for specializationReinUsesLisp
2020-03-13gl_rasterizer: Implement transform feedback bindingsReinUsesLisp
2020-03-13gl_shader_decompiler: Decorate output attributes with XFB layoutReinUsesLisp
We sometimes have to slice attributes in different parts. This is needed for example in instances where the game feedbacks 3 components but writes 4 from the shader (something that is possible with GL_NV_transform_feedback).
2020-03-13shader/transform_feedback: Add host API friendly TFB builderReinUsesLisp
2020-03-13Merge branch 'master' into shader-purgeRodrigo Locatti
2020-03-13Merge pull request #3491 from ReinUsesLisp/polygon-modesbunnei
gl_rasterizer: Implement polygon modes and fill rectangles
2020-03-12gl_shader_decompiler: Initialize gl_Position on vertex shadersReinUsesLisp
2020-03-12Merge pull request #3483 from namkazt/patch-1Fernando Sahmkow
vk_rasterizer: fix mistype on SetupGraphicsImages
2020-03-12Merge pull request #3480 from ReinUsesLisp/vk-disabled-uboFernando Sahmkow
vk_rasterizer: Support disabled uniform buffers
2020-03-12gl_shader_decompiler: Add missing {} on smem GLSL emissionReinUsesLisp
2020-03-12texture_cache: Report incompatible textures as blackReinUsesLisp
Some games bind incompatible texture types to certain types. For example Astral Chain binds a 2D texture with 1 layer (non-array) to a cubemap slot (that's how it's used in the shader). After testing this in hardware, the expected "undefined behavior" is to report all pixels as black. We already have a path for reporting black textures in the texture cache. When textures types are incompatible, this commit binds these kind of textures. This is done on the API agnostic texture cache so no extra code has to be inserted on OpenGL or Vulkan. As a side effect, this fixes invalidations of ASTC textures on Astral Chain. This happened because yuzu detected a cube texture and forced 6 faces, generating a texture larger than what the TIC reported.
2020-03-12texture_cache/surface_params: Force depth=1 on 2D texturesReinUsesLisp
Sometimes games will sample a 2D array TIC with a 2D access in the shader. This causes bad interactions with the rest of the texture cache. To emulate what the game wants to do, force a depth=1 on 2D textures (not 2D arrays) and let the texture cache handle the rest.
2020-03-12Merge pull request #3497 from FernandoS27/microprogfile-extendbunnei
Small corrections and features to microprofile
2020-03-12Merge pull request #3496 from vitor-k/remove-enumbunnei
framebuffer_layout.h: drop the use of enum for screen dimensions
2020-03-12NVFlinger: Do the microprofile Flip after processing a valid frame.Fernando Sahmkow
2020-03-12gl_shader_decompiler: Fix regression in render target declarationsReinUsesLisp
A previous commit introduced a way to declare as few render targets as possible. Turns out this introduced a regression in some games.
2020-03-11Merge pull request #3494 from ReinUsesLisp/fix-cs-pipelinebunnei
gl_shader_manager: Fix interaction between graphics and compute
2020-03-11framebuffer_layout.h: drop the use of enum for screen dimensions.Vitor Kiguchi
+clang format
2020-03-11gl_shader_manager: Fix interaction between graphics and computeReinUsesLisp
After a compute shader was set to the pipeline, no graphics shader was invoked again. To address this use glUseProgram to bind compute shaders (without state tracking) and call glUseProgram(0) when transitioning out of it back to the graphics pipeline.
2020-03-10Merge pull request #3458 from FearlessTobi/voice-issuesbunnei
cubeb_sink: Don't discard other channels when performing downmixing
2020-03-09gl_rasterizer: Implement polygon modes and fill rectanglesReinUsesLisp
2020-03-09engines/maxwell_3d: Add TFB registers and store them in shader registryReinUsesLisp
2020-03-09shader/registry: Address feedbackReinUsesLisp
2020-03-09gl_shader_decompiler: Add identifier to decompiled codeReinUsesLisp
2020-03-09gl_shader_decompiler: Roll back to GLSL core 430ReinUsesLisp
RenderDoc won't build shaders if we use GLSL compatibility.
2020-03-09const_buffer_engine_interface: Store component typesReinUsesLisp
This is required for Vulkan. Sampling integer textures with float handles is illegal.
2020-03-09yuzu/loading_screen: Remove unused shader progress modeReinUsesLisp
2020-03-09gl_shader_cache: Reduce registry consistency to debug assertReinUsesLisp
Registry consistency is something that practically can't happen and it has a measurable runtime cost. Reduce it to a DEBUG_ASSERT.
2020-03-09shader/registry: Cache tessellation stateReinUsesLisp
2020-03-09shader/registry: Store graphics and compute metadataReinUsesLisp
Store information GLSL forces us to provide but it's dynamic state in hardware (workgroup sizes, primitive topology, shared memory size).
2020-03-09video_core: Rename "const buffer locker" to "registry"ReinUsesLisp
2020-03-09gl_shader_cache: Rework shader cache and remove post-specializationsReinUsesLisp
Instead of pre-specializing shaders and then post-specializing them, drop the later and only "specialize" the shader while decoding it.