summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | renderer_opengl: Move some logic to an anonymous namespaceGravatar ReinUsesLisp2020-03-161-151/+151
| | | | | | | | |
* | | | | | | | | renderer_opengl: Detect Nvidia Nsight as a debugging toolGravatar ReinUsesLisp2020-03-163-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use getenv to detect Nsight.
* | | | | | | | | Merge pull request #3515 from ReinUsesLisp/vertex-vk-assertGravatar Rodrigo Locatti2020-03-151-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vk_rasterizer: Fix vertex range assert
| * | | | | | | | | vk_rasterizer: Fix vertex range assertGravatar ReinUsesLisp2020-03-151-1/+1
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | End can be equal to start in CalculateVertexArraysSize. This is quite common when the vertex size is zero.
* | | | | | | | | Merge pull request #3501 from ReinUsesLisp/rgba16-snormGravatar Rodrigo Locatti2020-03-158-69/+84
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | video_core: Implement RGBA16_SNORM
| * | | | | | | | | video_core: Implement RGBA16_SNORMGravatar ReinUsesLisp2020-03-128-69/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement RGBA16_SNORM with the current API. Nothing special here.
* | | | | | | | | | Merge pull request #3502 from namkazt/patch-3Gravatar Rodrigo Locatti2020-03-153-29/+53
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | shader_decode: Reimplement BFE instructions
| * | | | | | | | | | clang-formatGravatar Nguyen Dac Nam2020-03-141-2/+1
| | | | | | | | | | |
| * | | | | | | | | | nitGravatar Nguyen Dac Nam2020-03-141-1/+1
| | | | | | | | | | |
| * | | | | | | | | | clang-formatGravatar Nguyen Dac Nam2020-03-131-4/+8
| | | | | | | | | | |
| * | | | | | | | | | Apply suggestions from code reviewGravatar Nguyen Dac Nam2020-03-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Mat M. <mathew1800@gmail.com>
| * | | | | | | | | | shader_decode: BFE add ref of reverse parallel method.Gravatar Nguyen Dac Nam2020-03-131-0/+3
| | | | | | | | | | |
| * | | | | | | | | | shader_decode: implement BREV on BFEGravatar Nguyen Dac Nam2020-03-131-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement reverse parallel follow: https://graphics.stanford.edu/~seander/bithacks.html#ReverseParallel
| * | | | | | | | | | shader_bytecode: update BFE instructions struct.Gravatar Nguyen Dac Nam2020-03-131-8/+3
| | | | | | | | | | |
| * | | | | | | | | | node_helper: add IBitfieldExtract caseGravatar Nguyen Dac Nam2020-03-131-0/+2
| | | | | | | | | | |
| * | | | | | | | | | shader_decode: Reimplement BFE instructionsGravatar Nguyen Dac Nam2020-03-131-25/+27
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #3503 from makigumo/patch-2Gravatar Rodrigo Locatti2020-03-151-0/+2
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32
| * | | | | | | | | | fix formattingGravatar makigumo2020-03-131-1/+1
| | | | | | | | | | |
| * | | | | | | | | | maxwell_to_vk: add vertex format eA2B10G10R10UnormPack32Gravatar makigumo2020-03-131-1/+3
| |/ / / / / / / / /
* | | | | | | | | | Merge pull request #3512 from bunnei/fix-renderdocGravatar Rodrigo Locatti2020-03-153-1/+38
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | renderer_opengl: Keep frames synchronized when using a GPU debugger.
| * | | | | | | | | | renderer_opengl: Keep presentation frames in lock-step when GPU debugging.Gravatar bunnei2020-03-141-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fixes renderdoc with OpenGL renderer.
| * | | | | | | | | | gl_device: Add option to check GL_EXT_debug_tool.Gravatar bunnei2020-03-142-0/+6
| | |_|_|_|/ / / / / | |/| | | | | | | |
* | | | | | | | | | vk_shader_decompiler: fix linux buildGravatar makigumo2020-03-151-1/+1
| |_|_|/ / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #3508 from FernandoS27/page-tableGravatar bunnei2020-03-143-4/+25
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | PageTable: move backing addresses to a children class as the CPU page table does not need them.
| * | | | | | | | PageTable: move backing addresses to a children class as the CPU page table ↵Gravatar Fernando Sahmkow2020-03-143-4/+25
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge pull request #3500 from ReinUsesLisp/incompatible-typesGravatar Fernando Sahmkow2020-03-141-2/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | texture_cache: Report incompatible textures as black
| * | | | | | | | texture_cache: Report incompatible textures as blackGravatar ReinUsesLisp2020-03-121-2/+39
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | Merge pull request #3499 from ReinUsesLisp/depth-2d-arrayGravatar Fernando Sahmkow2020-03-141-2/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | texture_cache/surface_params: Force depth=1 on 2D textures
| * | | | | | | | texture_cache/surface_params: Force depth=1 on 2D texturesGravatar ReinUsesLisp2020-03-121-2/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | vk/gl_shader_decompiler: Silence assertion on computeGravatar ReinUsesLisp2020-03-132-6/+12
| | | | | | | |
* | | | | | | | vk_shader_decompiler: Fix default varying regressionGravatar ReinUsesLisp2020-03-131-2/+6
| | | | | | | |
* | | | | | | | maxwell_3d: Add padding words to XFB entriesGravatar ReinUsesLisp2020-03-131-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use INSERT_UNION_PADDING_WORDS instead of alignas to ensure a size requirement.
* | | | | | | | gl_shader_decompiler: Fix implicit conversion errorsGravatar ReinUsesLisp2020-03-131-3/+3
| | | | | | | |
* | | | | | | | vk_shader_decompiler: Fix implicit type conversionGravatar Rodrigo Locatti2020-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-By: Mat M. <mathew1800@gmail.com>
* | | | | | | | vk_rasterizer: Implement transform feedback binding zeroGravatar ReinUsesLisp2020-03-132-0/+46
| | | | | | | |
* | | | | | | | vk_shader_decompiler: Add XFB decorations to generic varyingsGravatar ReinUsesLisp2020-03-131-16/+89
| | | | | | | |
* | | | | | | | vk_device: Enable VK_EXT_transform_feedback when availableGravatar ReinUsesLisp2020-03-132-7/+40
| | | | | | | |
* | | | | | | | vk_device: Shrink formatless capability name sizeGravatar ReinUsesLisp2020-03-133-26/+23
| | | | | | | |
* | | | | | | | shader/transform_feedback: Expose buffer strideGravatar ReinUsesLisp2020-03-133-1/+4
| | | | | | | |
* | | | | | | | vk_shader_decompiler: Use registry for specializationGravatar ReinUsesLisp2020-03-134-31/+37
| | | | | | | |
* | | | | | | | gl_rasterizer: Implement transform feedback bindingsGravatar ReinUsesLisp2020-03-133-10/+83
| | | | | | | |
* | | | | | | | gl_shader_decompiler: Decorate output attributes with XFB layoutGravatar ReinUsesLisp2020-03-131-29/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | | | shader/transform_feedback: Add host API friendly TFB builderGravatar ReinUsesLisp2020-03-134-0/+140
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Merge branch 'master' into shader-purgeGravatar Rodrigo Locatti2020-03-1315-47/+177
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge pull request #3491 from ReinUsesLisp/polygon-modesGravatar bunnei2020-03-137-2/+99
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | | | | gl_rasterizer: Implement polygon modes and fill rectangles
| | * | | | | gl_rasterizer: Implement polygon modes and fill rectanglesGravatar ReinUsesLisp2020-03-097-2/+99
| | | | | | |
| * | | | | | Merge pull request #3483 from namkazt/patch-1Gravatar Fernando Sahmkow2020-03-121-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | vk_rasterizer: fix mistype on SetupGraphicsImages
| | * | | | | | vk_reasterizer: fix mistype on SetupGraphicsImagesGravatar Nguyen Dac Nam2020-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This should use Maxwell3D engine. Fixed some GPU error on Kirby and maybe other games.
| * | | | | | | Merge pull request #3480 from ReinUsesLisp/vk-disabled-uboGravatar Fernando Sahmkow2020-03-122-1/+9
| |\ \ \ \ \ \ \ | | |_|_|_|/ / / | |/| | | | | | vk_rasterizer: Support disabled uniform buffers
| | * | | | | | vk_rasterizer: Support disabled uniform buffersGravatar ReinUsesLisp2020-03-062-1/+9
| | | | | | | |