summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-10-26Shader_IR: Address Feedback.Fernando Sahmkow
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 #3029 from jroweboy/revertJames Rowe
Revert "ci: Add build name to archive root folder"
2019-10-24Revert "ci: Add build name to archive root folder"James Rowe
This reverts commit 5e553a6c267f4ab96a89833f1006ea27fd78b30a.
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-24Merge pull request #3024 from lioncash/shadowRodrigo Locatti
video_core/shader: Resolve instances of variable shadowing
2019-10-23video_core/shader: Resolve instances of variable shadowingLioncash
Silences a few -Wshadow warnings.
2019-10-23Merge pull request #3022 from DarkLordZach/azure-folder-renamebunnei
ci: Add build name to archive root folder
2019-10-23ci: Add build name to archive root folderZach Hilman
2019-10-22Merge pull request #2991 from lioncash/npadbunnei
hid/npad: Minor cleanup
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/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-20Merge pull request #3003 from ReinUsesLisp/flush-mme-traceDavid
maxwell_3d: Reduce FlushMMEInlineDraw logging to Trace
2019-10-20maxwell_3d: Reduce FlushMMEInlineDraw logging to TraceReinUsesLisp
2019-10-19Merge pull request #3001 from bunnei/fix-clang-errorbunnei
core: Fix clang-format errors.
2019-10-19core: Fix clang-format errors.bunnei
2019-10-18Merge pull request #2998 from cociorbaandrei/fix_null_pderefbunnei
Fix null pointer dereference.
2019-10-18Fix null pointer deref.Nicolae-Andrei Cociorba
2019-10-18Merge pull request #2994 from lioncash/fmtRodrigo Locatti
video_core/shader/ast: Minor changes to ASTPrinter
2019-10-17video_core/shader/ast: Make ShowCurrentState() and SanityCheck() const ↵Lioncash
member functions These can also trivially be made const member functions, with the addition of a few consts.
2019-10-17video_core/shader/ast: Make ASTManager::Print a const member functionLioncash
Given all visiting functions never modify the nodes, we can trivially make this a const member function.
2019-10-17Merge pull request #2993 from lioncash/vulkan-exprRodrigo Locatti
vk_shader_decompiler: Mark operator() function parameters as const references
2019-10-17video_core/shader/ast: Make ExprPrinter members privateLioncash
This member already has an accessor, so there's no need for it to be public.
2019-10-17video_core/shader/ast: Make Indent() return a string_viewLioncash
The returned string is simply a substring of our constexpr tabs string_view, so we can just use a string_view here as well, since the original string_view is guaranteed to always exist. Now the function is fully non-allocating.
2019-10-17video_core/shader/ast: Make Indent() privateLioncash
It's never used outside of this class, so we can narrow its scope down.
2019-10-17video_core/shader/ast: Rename Ident() to Indent()Lioncash
This can be confusing, given "ident" is generally used as a shorthand for "identifier".
2019-10-17video_core/shader/ast: Make use of fmt where applicableLioncash
Makes a few strings nicer to read and also eliminates a bit of string churn with operator+.
2019-10-17Merge pull request #2992 from lioncash/dmntbunnei
dmnt_cheat_vm: Correct register Restore and ClearRegs behavior
2019-10-17vk_shader_decompiler: Mark operator() function parameters as const referencesLioncash
These parameters aren't actually modified in any way, so they can be made const references.
2019-10-17dmnt_cheat_vm: Correct register Restore and ClearRegs behaviorLioncash
Previously these were performing the same behavior as the Save and ClearSaved opcode types.
2019-10-17Merge pull request #2966 from FernandoS27/astc-formatsRodrigo Locatti
Implement a series of ASTC formats and R4G4B4A4 format
2019-10-17Merge pull request #2979 from lioncash/macroRodrigo Locatti
video_core/macro_interpreter: Make definitions of most private enums/unions hidden
2019-10-17Merge pull request #2989 from lioncash/apmRodrigo Locatti
service/apm/controller: Minor interface changes
2019-10-17hid/npad: Fix incorrect connection boolean value in ↵Lioncash
ConnectAllDisconnectedControllers() We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates.
2019-10-17Merge pull request #2990 from lioncash/warnRodrigo Locatti
core: Resolve -Wreorder warnings
2019-10-17hid/npad: Add missing break in default caseLioncash
While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues).
2019-10-17hid/npad: Replace std::for_each with ranged for loopsLioncash
Performs the same behavior, but is built into the core language itself. No functional change.