summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2023-11-26VideoCommon: move texture dump function out of texture cache to its own free ↵iwubcode
function so it can be used elsewhere. Doing this change may also slightly improve performance of this operation
2023-11-26VideoCommon: move xf state management to its own class, so changes can be ↵iwubcode
detected in places other than VertexShaderManager
2023-11-26Merge pull request #12297 from Filoppi/improve_paper_whiteJosJuice
Change HDR paper white default to 203 to match the ITU recommendations
2023-11-25CustomAssetLibrary: Remove unnecessary qualifier in LoadInfoLioncash
The type is already in visible scope, so we don't need the rather length qualifier.
2023-11-25CustomAssetLibrary: Add virtual destructorLioncash
This is used as a base pointer inside CustomPipelineAction, so this should probably really have a virtual destructor to ensure derived objects are torn down properly.
2023-11-14Change paper white default to 203 to match the ITUFiloppi
2023-11-12Fix accidental fallthrough in BPStructsPokechu22
This caused us to update the indirect texture information in shaders more often than we needed to, which probably doesn't matter in practice since it's only used in ubershaders and copyyscale and stride are generally only updated before EFB/XFB copies, which generally will have other changes afterwards.
2023-11-12Merge pull request #12286 from Pokechu22/more-bp-register-descriptionsTilka
Add descriptions for more BP registers
2023-11-11Add descriptions for more BP registersPokechu22
2023-11-11Clarify per-texture tmem information in the fifo analyzerPokechu22
2023-11-11Convert BPMEM_LOADTLUT1 to a structPokechu22
2023-11-11Enhance description of BPMEM_PRELOAD_MODE in the fifo analyzerPokechu22
2023-11-11Rename bpmem.copyMipMapStrideChannels to bpmem.copyDestStridePokechu22
As far as I can tell, it has nothing to do with the mipmap/half_scale functionality, but does change based on the width of the destination texture (and the destination texture is half the width if half_scale is set). The comment that was there (which dates back to the initial megacommit) seems to not have accounted for the width aspect; it was first used as an actual stride in bbbe898839467c312c31456334540c20fedc7be3 (the first commit that used it at all).
2023-11-12VideoCommon: copy software renderer logic for blend mode prioritiesTillmann Karras
I've not tested this on hardware, but it fixes issue 12271 (shadow people in Deal or No Deal - Special Edition).
2023-11-11Fix typo in comment for bpmem.texcoordsPokechu22
2023-10-31CheatSearch: Update Current Values at end of frameDentomologist
At the end of each frame automatically update the Current Value for visible table rows in the selected and visible CheatSearchWidget (if any). Also update all Current Values in all CheatSearchWidgets when the State changes to Paused. Only updating visible table rows serves to minimize the performance cost of this feature. If the user scrolls to an un-updated cell it will promptly be updated by either the next VIEndFieldEvent or the State transitioning to Paused.
2023-10-31Jit64: Recompile asm routines on cache clearJosJuice
This is needed so that the checks added in the previous commit will be reevaluated if the value of m_enable_dcache changes. JitArm64 was already recompiling its asm routines on cache clear by necessity. It doesn't have the same setup as Jit64 where the asm routines are in a separate region, so clearing the JitArm64 cache results in the asm routines being cleared too.
2023-10-28Merge pull request #12254 from AdmiralCurtiss/savestate-no-xfb-strideTilka
VideoCommon: Don't swap on state load when there's no XFB.
2023-10-25VideoCommon: Don't swap on state load when there's no XFB.Admiral H. Curtiss
This triggers an assert in TCacheEntry::SetXfbCopy() otherwise if you load a savestate that was made before the first XFB has been rendered.
2023-10-24VideoCommon: Fix VS point/line on older GLSLTellowKrinkle
2023-10-17VideoCommon: Add support for icons in OSD messages.Admiral H. Curtiss
2023-10-16VideoCommon: use ToLower function in assets when parsing json, for proper ↵iwubcode
locale independent behavior
2023-10-16VideoCommon: add additional properties to ShaderAsset to support custom ↵iwubcode
shader uniforms
2023-10-15Merge pull request #12185 from iwubcode/custom_shader_uniform_backend_supportAdmiral H. Curtiss
VideoBackends / VideoCommon: add support for custom shader uniforms to D3D, Vulkan, OGL
2023-10-10VideoCommon: wait for the GPU to be finished doing any work before ↵iwubcode
invalidating pipelines when graphic config changes
2023-10-10VideoCommon: instead of using 'CustomTextureData' directly, use ↵iwubcode
'TextureData' for texture assets, this allows us to provide additional metadata for textures. Such as a sampler or type information (to distinguish cube maps)
2023-10-06VideoCommon: given the changes to pipeline interaction, update the global ↵iwubcode
version variable to reflect those changes and force pipelines to be rebuilt
2023-10-06VideoBackends / VideoCommon: add new uniform buffer object for custom shader ↵iwubcode
materials (slot 3, geometry shader buffer moves to slot 4 if available)
2023-10-05VideoCommon: add custom pixel shader constants as a buffer of data to be ↵iwubcode
passed to all backends
2023-09-28Use Vertex Depth Range when zRange Exceeds farZPatrick Ferry
When the inverted depth range is unsupported and zRange is greater than farZ then min_depth becomes a negative value and far_depth will then exceed a depth of 1.0 (which is outside the scope of most backends and greater than GX_MAX_DEPTH of the console). This happens when the backend supports depth clamping the min_depth is not clamped to zero.
2023-09-21fmt 10.0.0-10.1.1 compile fixesget
Implicit conversion operators and enums was removed for parity with std::format (https://github.com/fmtlib/fmt/commit/fce74caa15b24cbc0fcafe4706692cb06cb0b815).
2023-09-12Merge pull request #12166 from iwubcode/cubemap_shader_texture_integrationAdmiral H. Curtiss
VideoCommon: add cubemap to ShaderAsset and TextureAsset
2023-09-06VideoCommon: Expose the widescreen heuristic's standard and widescreen ratio ↵Jordan Woyak
values in onion config.
2023-09-05VideoCommon: add cubemap as a sampler target for shaders, add cubemap as a ↵iwubcode
valid texture asset
2023-09-05Merge pull request #11419 from OatmealDome/widescreenJMC47
VideoCommon: Allow widescreen heuristic's constants to be overridden by onion config
2023-09-05VertexManagerBase: Allow widecreen heuristic constants to be overriden by ↵OatmealDome
onion config
2023-09-05RenderBase: Allow widescreen heuristic's transition threshold to be ↵OatmealDome
overridden by onion config
2023-09-04Merge pull request #12139 from iwubcode/more_shader_texture_propertiesJMC47
VideoCommon: add additional texture sampler types to ShaderAsset
2023-09-04Merge pull request #12137 from iwubcode/custom_pipeline_more_error_checkingJMC47
VideoCommon: additional error checking for CustomPipelineAction
2023-09-04Merge pull request #12136 from iwubcode/texture_metadata_structJMC47
VideoCommon: add TextureData structure with metadata
2023-09-03Merge pull request #12102 from iwubcode/cubemap_custom_textureJMC47
VideoCommon: add ability to load cube maps into custom texture data
2023-09-03VideoCommon: Deinit Graphics Mod Manager implicitlySketch
2023-09-03Merge pull request #12148 from ↵Admiral H. Curtiss
Dentomologist/fifo_convert_memoryupdate_type_to_enum_class Fifo: Convert MemoryUpdate::Type to enum class
2023-09-02VideoCommon: add loading cube maps from DDS files and loading it into our ↵iwubcode
custom texture object. Custom texture object now has the concept of slices in addition to levels. Traditional custom textures have a single slice
2023-09-02Fifo: Convert MemoryUpdate::Type to enum classDentomologist
2023-09-01TextureCacheBase: Add m_ prefix to member variablesDentomologist
2023-08-29Merge pull request #12145 from JosJuice/ubershaderpixel-uintAdmiral H. Curtiss
VideoCommon: Fix GLSL uint handling in UberShaderPixel
2023-08-28Merge pull request #12000 from Filoppi/window_res_fixAdmiral H. Curtiss
Video: Fix issues with the window presentation
2023-08-28VideoCommon: Fix GLSL uint handling in UberShaderPixelJosJuice
2023-08-26VideoCommon: add additional texture sampler types to ShaderAssetiwubcode