summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-03-17Merge pull request #3498 from ReinUsesLisp/texel-fetch-glslbunnei
gl_shader_decompiler: Add layer component to texelFetch
2020-03-16renderer_opengl: Move some logic to an anonymous namespaceReinUsesLisp
2020-03-16renderer_opengl: Detect Nvidia Nsight as a debugging toolReinUsesLisp
Use getenv to detect Nsight.
2020-03-15Merge pull request #3515 from ReinUsesLisp/vertex-vk-assertRodrigo Locatti
vk_rasterizer: Fix vertex range assert
2020-03-15Merge pull request #3501 from ReinUsesLisp/rgba16-snormRodrigo Locatti
video_core: Implement RGBA16_SNORM
2020-03-15Merge pull request #3502 from namkazt/patch-3Rodrigo Locatti
shader_decode: Reimplement BFE instructions
2020-03-15Merge pull request #3503 from makigumo/patch-2Rodrigo Locatti
maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
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-15vk_rasterizer: Fix vertex range assertReinUsesLisp
End can be equal to start in CalculateVertexArraysSize. This is quite common when the vertex size is zero.
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-14clang-formatNguyen Dac Nam
2020-03-14nitNguyen Dac Nam
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-13fix formattingmakigumo
2020-03-13maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32makigumo
2020-03-13clang-formatNguyen Dac Nam
2020-03-13Apply suggestions from code reviewNguyen Dac Nam
Co-Authored-By: Mat M. <mathew1800@gmail.com>
2020-03-13shader_decode: BFE add ref of reverse parallel method.Nguyen Dac Nam
2020-03-13shader_decode: implement BREV on BFENguyen Dac Nam
Implement reverse parallel follow: https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel
2020-03-13shader_bytecode: update BFE instructions struct.Nguyen Dac Nam
2020-03-13node_helper: add IBitfieldExtract caseNguyen Dac Nam
2020-03-13shader_decode: Reimplement BFE instructionsNguyen Dac Nam
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-12video_core: Implement RGBA16_SNORMReinUsesLisp
Implement RGBA16_SNORM with the current API. Nothing special here.
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.