summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2019-04-20ShaderCache: Fix crash if pipeline from uid cache fails creationStenzek
2019-04-20PixelShaderGen: Don't emit bounding box shader code for old UIDs when disabledStenzek
If bounding box is enabled when a UID cache is created, then later disabled, we shouldn't emit the bounding box portion of the shader. Fixes pipeline creation errors on D3D12 backend for this case.
2019-04-20Merge pull request #7999 from stenzek/pipeline-cache-dataConnor McLaughlin
Implement pipeline data cache for OpenGL and D3D12
2019-04-17VideoCommon: Change free-look's middle-mouse action to roll the camera.Jordan Woyak
2019-04-16ShaderCache: Utilize pipeline cache data where possibleStenzek
2019-04-16AbstractPipeline: Support returning "cache data"Stenzek
"Cache data" can be used to assist a driver with creating pipelines by using previously-compiled shader ISA.
2019-04-06Minor changes to usages of std::condition_variable.Jordan Woyak
2019-04-05Merge pull request #7955 from Techjar/netplay-golf-modespycrab
NetPlay golf mode
2019-04-05Add imgui golf mode overlayTechjar
2019-04-03PixelShaderGen: Fix bounding box coordinates being offset by 1 pixelTechjar
2019-04-01D3D12: Fix rare case where command list was executed with open queriesStenzek
2019-04-01Merge pull request #7950 from stenzek/out-of-range-efb-copiesConnor McLaughlin
BPStructs: Gracefully handle out-of-range EFB copies
2019-04-01Implement D3D12 backendStenzek
2019-03-31BPStructs: Gracefully handle out-of-range EFB copiesStenzek
Since the copy X and Y coordinates/sizes are 10-bit, the game can configure a copy region up to 1024x1024. Hardware tests have found that the number of bytes written does not depend on the configured stride, instead it is based on the size registers, writing beyond the length of a single row. The data written for the pixels which lie outside the EFB bounds does not wrap around instead returning different colors based on the pixel format of the EFB. This suggests it's not based on coordinates, but instead on memory addresses. The effect of a within-bounds size but out-of-bounds offset (e.g. offset 320,0, size 640,480) are the same. As it would be difficult to emulate the exact behavior of out-of-bounds reads, instead of writing the junk data, we don't write anything to RAM at all for over-sized copies, and clamp to the EFB borders for over-offset copies.
2019-03-30FramebufferManager: Fix broken EFB peeks in GL with MSAA onStenzek
2019-03-29TextureCacheBase: Fix possible crash on shutdown with deferred EFB copiesStenzek
2019-03-29Merge pull request #7869 from stenzek/d3dcommonConnor McLaughlin
D3D: Move sharable D3D11/D3D12 code to common library
2019-03-29PixelShaderGen: Use subgroup reduction operations for bounding boxStenzek
2019-03-29Merge pull request #7895 from stenzek/framebuffer-corruptionConnor McLaughlin
FramebufferManager: Don't discard in ReinterpretPixelData
2019-03-29Merge pull request #7915 from stenzek/bbox-scaled-updateConnor McLaughlin
VideoBackends: Scale bounding box rectangle in the pixel shader
2019-03-29VertexManagerBase: Increase vertex/uniform buffer sizesStenzek
ZTP was uploading 10MB+ of uniforms per frame, reducing paralellism by forcing GPU waits.
2019-03-29VideoBackends: Verify validity before doing full renderer initStenzek
Prevents attempting to create invalid MSAA configurations, for example.
2019-03-28ShaderCache: Don't create invalid logic op pipelinesStenzek
uint_output will never be set unless logic ops are enabled. Also clears the bits so we're not compiling unused pixel shaders on the other backends.
2019-03-28ShaderCache: Set correct primitive in dummy ubershader pipelinesStenzek
2019-03-28RenderBase: Add EFBHasAlphaChannel() helperStenzek
2019-03-27Merge pull request #7934 from stenzek/stretched-efb-peeksJMC47
FramebufferManager: Fix EFB peek cache stretching last tile
2019-03-27FramebufferManager: Fix EFB pokes being offset by 1 in D3DStenzek
2019-03-27FramebufferManager: Fix EFB peek cache stretching last tileStenzek
2019-03-26NetPlayChatUI: Add activate chat hotkeyspycrab
2019-03-25VideoBackends: Scale bounding box rectangle in the pixel shaderStenzek
2019-03-24FramebufferManager: Only clear tile array when validStenzek
When looking into the Faron Woods fifolog, I noticed this code was quite high in the profile (~10%). Clearing 4096 entries from the vector isn't needed every draw, we only need to do this when the cache was actually valid in the first place. Should provide a slight general performance boost.
2019-03-23Merge pull request #7903 from spycrab/imgui_np_chatspycrab
Add imgui-based Netplay Chat
2019-03-23Add imgui-based Netplay Chatspycrab
2019-03-21VideoCommon/RenderBase: Disable backculling for ImGuispycrab
2019-03-20TextureCacheBase: Fix infinite loop in DoPartialTextureUpdatesStenzek
2019-03-16FramebufferManager: Don't discard in ReinterpretPixelDataStenzek
This was causing the depth buffer to be discarded as well, which has an effect on mobiles (doesn't get loaded into tile memory). If we find this is hindering performance (remember, the EFB is only a 640x528 texture), it may be worth changing the interface to support discarding only the colour buffer.
2019-03-15Merge pull request #7874 from vadosnaprimer/ffv1_fixJosJuice
FFV1 fix
2019-03-12FramebufferManager: Fix panic in VertexManager with large EFB depth poke batchesStenzek
2019-03-11decrease gop size (keyint)feos
this makes seeking a lot smoother (especially at high resolutions), while only adding less than 1% of filesize with this codec.
2019-03-11change pixel format from BGRA to BGR0feos
for this kind of footage carrying alpha information makes no sense, and it additionally complicates things by hugely damaging compatibility of the resulting video. after this change alone the video becomes compatible with VfW/WinAPI and tools that rely on it (avisynth, virtualdub). fixes https://bugs.dolphin-emu.org/issues/11141 and https://bugs.dolphin-emu.org/issues/10193
2019-03-09FramebufferManager: Implement deferred EFB cache invalidationStenzek
2019-03-09FramebufferManager: Implement EFB tile cacheStenzek
The new tile cache is dynamic in size and can be turned on/off.
2019-03-09VideoConfig: Add SupportsPartialDepthCopies to backend infoStenzek
D3D11 doesn't support partial copies of depth buffers via CopySubResource(), so we need to use a different path for the EFB cache.
2019-03-07VideoCommon/RenderBase: Don't destroy pipelines that are in usespycrab
2019-03-04VideoCommon: add EFB peek/poke statsTillmann Karras
2019-03-01TextureConversionShader: fix XFB decoding shaderTillmann Karras
2019-02-28Merge pull request #7832 from stenzek/xfb-decoding-regressionTilka
TextureCache: Fix GPU decoding of XFB copies
2019-02-28TextureConversionShader: Fix XFB decoding shader for D3DStenzek
D3D has no mix() equivalent with a bool parameter. Compilers should be able to optimize the ternary into a select anyway.
2019-02-28TextureCache: Fix GPU decoding of XFB copies not falling back to CPUStenzek
2019-02-28TextureCache: Fix EFB2RAM copies at >1xIR sampling out-of-rangeStenzek