summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp
AgeCommit message (Collapse)Author
2018-03-10Move shader caches to VideoCommonStenzek
2017-12-06D3D: Use VideoCommon EFB-to-texture shadersStenzek
2017-09-07D3D: Fix crash if shaders fail to compileStenzek
2017-09-05VideoBackends: Clear uid bits that are unused for the current backendStenzek
Currently, this is only the logic op bit, but this will be extended to the framebuffer fetch/blend modes. In the future, when/if we move to VideoCommon pipelines, this state will be part of the pipeline UID anyway, and we can mask it out in the backend by using a two-level map, so the shaders/programs are shared.
2017-09-02D3D: Eliminate redundant ID3D11DeviceChild* castsLioncash
2017-07-31VideoConfig: Drop force vertex/pixel ubershader settingsStenzek
This was mainly included for debugging, but could end up being confusing for users, as well as polluting the GL program cache with a mix of uber and specialized shaders if the option was changed.
2017-07-30Ubershaders: Support per-pixel lightingStenzek
2017-07-30VideoBackends: Support a different number of threads for precompilingStenzek
At runtime, we only really want a single shader compiler thread. However, for initial boots, we can use a higher number to speed things up.
2017-07-30D3D: Uber shader supportStenzek
2017-07-20ShaderGen: Pass host config to shader generation functionsStenzek
Also moves the host config checks to common.
2017-07-20VideoCommon: Move shader cache filename generation to commonStenzek
2017-07-20D3D11: Reload shader cache when relevant config changesStenzek
2017-03-09Unify the way of setting game ID, title ID, revisionJosJuice
The existing code from ConfigManager, ES and MIOS is merged into a new set of functions called SetRunningGameMetadata.
2017-02-19VideoBackends: Add a developer option to disable the shader cache.Jules Blok
Makes it easier to disable the cache while working on the shaders.
2017-01-04VideoCommon: Make dst_alpha state implicit.degasus
2016-12-15TextureCache: Use same color coefficients for EFB2Tex as EFB2RAMStenzek
2016-12-06Common: Add alignment headerLéo Lam
Gets rid of duplicated alignment code.
2016-10-29DiscIO/SConfig: Rename GetUniqueID to GetGameIDJosJuice
We call this "game ID" everywhere else, and it's not actually completely unique.
2016-10-04PixelShaderGen: Drop dstAlphaMode constant in shader generation.degasus
It is already stored within the UID.
2016-07-29VideoCommon: Make API_TYPE an enum classLioncash
Allows for forward declarations in most places, which prevents dumping unrelated VideoCommon.h contents directly into headers.
2016-06-26Remove the rest of ShaderDebugging.Scott Mansell
Without UID checking, it's basically a no-op that disables shader cache and stores the shader source code (without ever reading it back).
2016-06-26Remove UID Checker.Scott Mansell
Kind of pointless now that multiple shaders with the same UID are now fundementally impossible.
2016-06-26Multithreadded Shadergen: Second pass over Pixel Shadergen.Scott Mansell
Note: It's not 100% perfect, as some of the GPU capablities leak into the pixel shader UID. Currently our UIDs don't get exported, so there is no issue. But someone might want to fix this in the future.
2016-06-24Reformat all the things. Have fun with merge conflicts.Pierre Bourdon
2016-03-26D3D11: Simplify MSAA depth texture resolvingStenzek
This also fixes EFB depth buffer copies when MSAA is enabled.
2016-01-02VideoBackend: Get rid of a boolean globalLioncash
Also gets rid of global headers
2015-12-28D3D: Fix compilation error on windowsStenzek
2015-12-28Merge pull request #3295 from stenzek/d3d-xfb-msaaMarkus Wick
D3D: Fix multiple issues relating to MSAA
2015-12-15MSAA: Store samples in ini files.degasus
2015-12-08D3D: Fix EFB depth buffer copies, filtering on scaled EFB copies when MSAA ↵Stenzek
is enabled, real XFB filtering Since ResolveSubresource cannot be used with depth textures (and throws an error with the debug layer enabled), use a shader which selects the minimum depth value from all samples. Changes the sampler by XFBEncoder to use a linear filter, rather than point, to match GL behavior.
2015-11-03VideoCommon: return code/uid from shader gensTillmann Karras
rather than passing in non-const references
2015-11-01VideoCommon: flush vertex manager if components changeTillmann Karras
2015-10-29ShaderCaches: remove unneeded typedefsTillmann Karras
2015-08-15Revert "VideoCommon: Clamp integer conversions."Jules Blok
This reverts commit 0f2c72f0f844c219e168faa7de8dd515f8723fdc.
2015-06-12Options: merge SCoreStartupParameter into SConfigdegasus
2015-05-26D3D: Depth range inversion.galop1n
Credits go to Galop1n for designing this technique and to BhaaLseN for cleaning up the commit.
2015-05-25Set copyright year to when a file was createdTillmann Karras
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-05-08VideoCommon: Clamp integer conversions.Jules Blok
2015-05-08VideoBackends: Floor depth values in depth copy shaders.Jules Blok
2015-05-08VideoBackends: Use proper floating point depth precision.Jules Blok
2015-05-06PixelShaderCache: Fix MSAA depth copy shader.Jules Blok
2015-05-05VideoBackends: Implement depth copy shaders with integer math.Jules Blok
2015-01-02Anaglyph: Use matrices instead of vectors.Jules Blok
2015-01-02PixelShaderCache: Implement Dubois algorithm in anaglyph shader.Jules Blok
2014-12-27PixelShaderCache: Don't use GetDimensions() for the sample count.Jules Blok
This function is bugged on Windows 7, and statically declaring the sample count is trivial anyway.
2014-12-21PixelShaderCache: Support stereoscopic EFB format changes.Jules Blok
2014-12-18D3D: Use ROUND_UP macro for rounding buffer sizes.Jules Blok
2014-12-14CosmeticsJules Blok
2014-12-14D3D: Define decimals in floating point numbersJules Blok