summaryrefslogtreecommitdiffstats
path: root/src/video_core/host_shaders/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-10-16Changes based on hardware testsSquall-Leonhart1-1/+0
Removes unnecessary d32f to bgra shader and blit functions, update vk_texture_cache to use abgr shader for d32f to BGRA formats updates abgr to d32f shader to comply with hardware tests
2023-10-15Another missing copy connected to Bravely Default IISquall-Leonhart1-0/+1
adds blit_image_helper.ConvertABGR8ToD32F and fragment shader for performing ABGR and BGRA to D32F copies
2023-10-15Implement missing formats for Bravely Default 2Squall-Leonhart1-0/+1
2023-10-04Implements D32_Float to A8B8G8R8_UNORM format copySquall-Leonhart1-0/+1
Corrects some visual issues in games such as Disney SpeedStorm
2023-09-23Query Cache: Simplify Prefix Sum compute shaderFernando Sahmkow1-1/+3
2023-09-23Query Cache: Implement host side sample counting.Fernando Sahmkow1-0/+1
2023-09-23Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow1-0/+1
2023-08-19Masked depthstencil clearsKelebek11-0/+1
2023-08-06Revert "vulkan dims specialization"Ameer J1-57/+0
This reverts commit e6243058f2269bd79ac8479d58e55feec2611e9d.
2023-08-06vulkan dims specializationameerj1-0/+57
2023-06-26OpenGL: Add Local Memory warmup shaderameerj1-0/+1
2023-02-11texture_cache: OpenGL: Implement MSAA uploads and copiesameerj1-0/+2
2023-01-28video_core: Implement vulkan clear specified channelFengChen1-0/+2
2023-01-26video_core/opengl: Add FSR upscaling filter to the OpenGL rendererWollnashorn1-2/+28
2023-01-05video_core: Implement opengl/vulkan draw_textureFeng Chen1-1/+1
2023-01-05vulkan: implement 'turbo mode' clock boosterLiam1-0/+1
2022-12-08video_core: Integrate SMAALiam1-0/+7
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com>
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-0/+3
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-04-07OpenGL: fix S8D24 to ABGR8 conversionsLiam1-0/+1
2022-03-16Address review commentsLiam1-1/+1
2022-03-16Vulkan: convert S8D24 <-> ABGR8Liam1-0/+1
2021-11-22TextureCache: Simplify blitting of D24S8 formats and fix bugs.Fernando Sahmkow1-4/+0
2021-11-20TextureCache: Add R16G16 to D24S8 converter.Fernando Sahmkow1-0/+1
2021-11-19TextureCache: Add B10G11R11 to D24S8 converter.Fernando Sahmkow1-0/+1
2021-11-19TextureCache: Implement additional D24S8 convertions.Fernando Sahmkow1-0/+2
2021-11-19Vulkan: implement D24S8 <-> RGBA8 convertions.Fernando Sahmkow1-0/+2
2021-11-16Presentation: Only use FP16 in scaling shaders on supported devices in VulkanMarshall Mohror1-3/+7
2021-11-16OpenGL: Implement FXAAMarshall Mohror1-0/+2
2021-11-16VideoCore: Add gaussian filtering.FernandoS271-0/+1
2021-11-16vulkan: Implement FidelityFX Super ResolutionMarshall Mohror1-2/+15
2021-11-16Renderers: Unify post processing filter shadersameerj1-4/+2
2021-11-16Renderer: Implement Bicubic and ScaleForce filters.Fernando Sahmkow1-0/+4
2021-09-17host_shaders: Remove opengl_copy_bgra.compameerj1-1/+0
2021-06-13cmake: Fix find_program usage for 3.15lat9nq1-1/+4
yuzu requires CMake 3.15 yet find_program was using REQUIRED, which is only available on 3.18 and later. Instead, we check for "<VAR>-NOTFOUND". In addition, check for additional requirements before building libusb or FFmpeg with autotools. Otherwise, CMake configuration will pass yet compilation will fail.
2021-03-13host_shaders: Modify shader cmake integration to allow for larger shadersameerj1-0/+1
using a raw string to encapsulate the entire shader code limits us to shaders of size less than 2KB. This change overcomes this limitation.
2021-03-04renderer_opengl: Swizzle BGR textures on copyameerj1-0/+1
OpenGL does not natively support BGR internal formats, which causes many BGR textures to render incorrectly, with Red and Blue channels swapped. This commit aims to address this by swizzling the blue and red channels on texture copies when a BGR format is encountered.
2021-02-13video_core: Reimplement the buffer cacheReinUsesLisp1-1/+0
Reimplement the buffer cache using cached bindings and page level granularity for modification tracking. This also drops the usage of shared pointers and virtual functions from the cache. - Bindings are cached, allowing to skip work when the game changes few bits between draws. - OpenGL Assembly shaders no longer copy when a region has been modified from the GPU to emulate constant buffers, instead GL_EXT_memory_object is used to alias sub-buffers within the same allocation. - OpenGL Assembly shaders stream constant buffer data using glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In theory this should save one hash table resolve inside the driver compared to glBufferSubData. - A new OpenGL stream buffer is implemented based on fences for drivers that are not Nvidia's proprietary, due to their low performance on partial glBufferSubData calls synchronized with 3D rendering (that some games use a lot). - Most optimizations are shared between APIs now, allowing Vulkan to cache more bindings than before, skipping unnecesarry work. This commit adds the necessary infrastructure to use Vulkan object from OpenGL. Overall, it improves performance and fixes some bugs present on the old cache. There are still some edge cases hit by some games that harm performance on some vendors, this are planned to be fixed in later commits.
2021-02-02video_core: host_shaders: Don't pass --quiet to glslangValidator if unavailablelat9nq1-1/+19
Prevents CMake from calling `glslangValidator` with `--quiet` when it is not available, i.e. on older downstream versions from Ubuntu.
2021-01-24host_shaders/cmake: Pass --quiet to glslang to keep it quietReinUsesLisp1-1/+1
Silences noisy builds on toolchains.
2020-12-30host_shaders: Add Vulkan assembler compute shadersReinUsesLisp1-0/+3
2020-12-30host_shaders: Add helper to blit depth stencil fragment shaderReinUsesLisp1-0/+1
2020-12-30host_shaders: Add texture color blit fragment shaderReinUsesLisp1-0/+1
2020-12-30host_shaders: Add shaders to present to the swapchainReinUsesLisp1-0/+2
2020-12-30host_shaders: Add shaders to convert between depth and color imagesReinUsesLisp1-0/+2
2020-12-30host_shaders: Add compute shader to copy BC4 as RG32UI to RGBA8ReinUsesLisp1-0/+1
2020-12-30host_shaders: Add shader to render a full screen triangleReinUsesLisp1-0/+1
2020-12-30host_shaders: Add pitch linear upload compute shaderReinUsesLisp1-0/+1
2020-12-30host_shaders: Add block linear upload compute shadersReinUsesLisp1-0/+2
2020-12-30video_core/host_shaders: Add support for prebuilt SPIR-V shadersReinUsesLisp1-16/+37
Add support for building SPIR-V shaders from GLSL and generating headers to include the text of those same GLSL shaders to consume from OpenGL.
2020-09-24video_core: Fix instances where msbuild always regenerated host shadersReinUsesLisp1-12/+5
When HEADER_GENERATOR was included in the DEPENDS section of custom commands, msbuild assumed this was always modified. Changing this file is not common so we can remove it from there.
2020-08-24video_core/host_shaders: Add CMake integration for string shadersReinUsesLisp1-0/+43
Add the necessary CMake code to copy the contents in a string source shader (GLSL or GLASM) to a header file then consumed by video_core files. This allows editting GLSL in its own files without having to maintain them in source files. For now, only OpenGL presentation shaders are moved, but we can add GLASM presentation shaders and static SPIR-V generation through glslangValidator in the future.