aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-10-29gl_state: Remove ApplyDefaultStateReinUsesLisp
OpenGL has defaults values we can trust. Remove these.
2019-10-29gl_state: Change SetDefaultViewports to use default constructorReinUsesLisp
2019-10-29gl_state: Minor style changesReinUsesLisp
2019-10-29gl_state: Remove unused Citra TextureUnitsReinUsesLisp
2019-10-29gl_state: Move initializers from constructor to class declarationReinUsesLisp
2019-10-29shader/node: Unpack bindless texture encodingReinUsesLisp
Bindless textures were using u64 to pack the buffer and offset from where they come from. Drop this in favor of separated entries in the struct. Remove the usage of std::set in favor of std::list (it's not std::vector to avoid reference invalidations) for samplers and images.
2019-10-29Merge pull request #3004 from ReinUsesLisp/maxwell3d-cleanupRodrigo Locatti
maxwell_3d: Remove unused entries
2019-10-28Merge pull request #3037 from FernandoS27/new-formatsRodrigo Locatti
video_core: Implement texture format E5B9G9R9_SHAREDEXP.
2019-10-27scheduler: Mark parameter of AskForReselectionOrMarkRedundant() as constLioncash
This is only compared against, so it can be made const.
2019-10-28maxwell_3d/kepler_compute: Remove unused arguments in GetTextureReinUsesLisp
2019-10-28video_core/textures: Remove unused index entry in FullTextureInfoReinUsesLisp
2019-10-28maxwell_3d: Remove unused method GetStageTexturesReinUsesLisp
2019-10-27scheduler: Silence sign conversion warningsLioncash
2019-10-27scheduler: Initialize class members directly where applicableLioncash
Reduces the overall amount of code.
2019-10-27scheduler: Amend documentation commentsLioncash
Adjusts the formatting of a few of the comments an ensures they get recognized as proper Doxygen comments.
2019-10-28Merge pull request #2971 from FernandoS27/new-scheduler-v2David
Kernel: Implement a New Thread Scheduler V2
2019-10-27Video_Core: Implement texture format E5B9G9R9_SHAREDEXP.Fernando Sahmkow
This commit implements the E5B9G9R9 Texture format into the general system and OpenGL backend.
2019-10-27Merge pull request #3034 from ReinUsesLisp/w4244-maxwell3dbunnei
maxwell_3d: Silence implicit conversion warnings
2019-10-27maxwell_3d: Silence implicit conversion warningsReinUsesLisp
While we are at it, unify types for dirty reg pointers.
2019-10-27rasterizer_accelerated: Add intermediary for GPU rasterizersReinUsesLisp
Add an intermediary class that implements common functions across GPU accelerated rasterizers. This avoids code repetition on different backends.
2019-10-27astc: Silence implicit conversion warningsReinUsesLisp
2019-10-26Merge pull request #2976 from FernandoS27/cache-fast-brx-rebasedRodrigo Locatti
Implement Fast BRX, fix TXQ and addapt the Shader Cache for it
2019-10-26Shader_IR: Address Feedback.Fernando Sahmkow
2019-10-26Merge pull request #3027 from lioncash/lookupRodrigo Locatti
shader_ir: Use std::array with std::pair instead of std::unordered_map
2019-10-25Merge pull request #3013 from FernandoS27/tld4s-fixRodrigo Locatti
Shader_Ir: Fix TLD4S from using a component mask.
2019-10-25Shader_IR: Clang formatFernando Sahmkow
2019-10-25gl_shader_cache: Implement locker variants invalidationReinUsesLisp
2019-10-25gl_shader_disk_cache: Store and load fast BRXReinUsesLisp
2019-10-25const_buffer_locker: Minor style changesReinUsesLisp
2019-10-25gl_shader_decompiler: Move entries to a separate functionReinUsesLisp
2019-10-25Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.Fernando Sahmkow
2019-10-25Shader_IR: Correct typo in Consistent method.Fernando Sahmkow
2019-10-25Shader_IR: allow lookup of texture samplers within the shader_ir for ↵Fernando Sahmkow
instructions that don't provide it
2019-10-25Shader_IR: Implement Fast BRX and allow multi-branches in the CFG.Fernando Sahmkow
2019-10-25Shader_Cache: setup connection of ConstBufferLockerFernando Sahmkow
2019-10-25VideoCore: Unify const buffer accessing along engines and provide ↵Fernando Sahmkow
ConstBufferLocker class to shaders.
2019-10-25Shader_IR: Implement BRX tracking.Fernando Sahmkow
2019-10-24Merge pull request #3028 from lioncash/constexprRodrigo Locatti
shader_bytecode: Make Matcher constexpr capable
2019-10-24shader_bytecode: Make Matcher constexpr capableLioncash
Greatly shrinks the amount of generated code for GetDecodeTable(). Collapses an assembly output of 9000+ lines down to ~3621 with Clang, and 6513 down to ~2616 with GCC, given it's now allowed to construct all the entries as a sequence of constant data.
2019-10-24shader_ir: Use std::array with pair instead of unordered_mapLioncash
Given the overall size of the maps are very small, we can use arrays of pairs here instead of always heap allocating a new map every time the functions are called. Given the small size of the maps, the difference in container lookups are negligible, especially given the entries are already sorted.
2019-10-23video_core/shader: Resolve instances of variable shadowingLioncash
Silences a few -Wshadow warnings.
2019-10-22Merge pull request #2991 from lioncash/npadbunnei
hid/npad: Minor cleanup
2019-10-22savedata_factory: Automatically create certain savedataZach Hilman
After further hardware investigation, it appears that some games, perhaps those more lazily coded, will not call EnsureSaveData, meaning that they expect the normal (current) save to be automatically made. Additionally, some games do not create a cache or temporary save before use. In these 3 specific instances, the save is created automatically for the game if it doesn't exist.
2019-10-22Merge pull request #2995 from ReinUsesLisp/ignore-gmemFernando Sahmkow
shader_ir/memory: Ignore global memory when tracking fails
2019-10-22Merge pull request #2983 from lioncash/fallthroughFernando Sahmkow
gl_shader_decompiler/vk_shader_decompiler: Resolve implicit fallthrough cases
2019-10-22Shader_Ir: Fix TLD4S from using a component mask.Fernando Sahmkow
TLD4S always outputs 4 values, the previous code checked a component mask and omitted those values that weren't part of it. This commit corrects that and makes sure all 4 values are set.
2019-10-22shader_ir/memory: Ignore global memory when tracking failsReinUsesLisp
Ignore global memory operations instead of invoking undefined behaviour when constant buffer tracking fails and we are blasting through asserts, ignore the operation. In the case of LDG this means filling the destination registers with zeroes; for STG this means ignore the instruction as a whole. The default behaviour is still to abort execution on failure.
2019-10-20maxwell_3d: Reduce FlushMMEInlineDraw logging to TraceReinUsesLisp
2019-10-19core: Fix clang-format errors.bunnei
2019-10-18Fix null pointer deref.Nicolae-Andrei Cociorba