aboutsummaryrefslogtreecommitdiff
path: root/src/video_core
AgeCommit message (Collapse)Author
2019-05-14video_core/engines/engine_upload: Remove unnecessary const on parameters in ↵Lioncash
function declarations These only apply in the definition of the function. They can be omitted from the declaration.
2019-05-14video_core/engines/engine_upload: Remove unnecessary includesLioncash
2019-05-14video_core/engines/maxwell3d: Get rid of three magic values in CallMethod()Lioncash
We can use the named constant instead of using 32 directly.
2019-05-14video_core/engines/maxwell_3d: Simplify for loops into ranged for loops ↵Lioncash
within InitializeRegisterDefaults() Lessens the amount of code that needs to be read, and gets rid of the need to introduce an indexing variable. Instead, we just operate on the objects directly.
2019-05-14video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for RegsLioncash
std::memset is used to clear the entire register structure, which requires that the Regs struct be trivially copyable (otherwise undefined behavior is invoked). This prevents the case where a non-trivial type is potentially added to the struct.
2019-05-14yuzu: Remove explicit types from locks where applicableLioncash
With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore.
2019-05-14video_core/gpu_thread: Remove redundant copy constructor for ↵Lioncash
CommandDataContainer std::move within a copy constructor (on a data member that isn't mutable) will always result in a copy. Because of that, the behavior of this copy constructor is identical to the one that would be generated automatically by the compiler, so we can remove it.
2019-05-14Merge pull request #2462 from lioncash/video-mmMat M
video_core/memory_manager: Minor tidying
2019-05-14Merge pull request #2461 from lioncash/unused-varMat M
video_core: Remove a few unused variables and functions
2019-05-13Merge pull request #2413 from FernandoS27/opt-gpuRodrigo Locatti
Rasterizer Cache: refactor flushing & optimize memory usage of surfaces
2019-05-12GPU/MMEInterpreter: Ignore the 'exit' flag when it's executed inside a delay ↵Sebastian Valle
slot. It seems instructions marked with the 'exit' flag will not cause an exit when executed within a delay slot. This was hwtested by fincs.
2019-05-09video_core/memory_manager: Mark IsBlockContinuous() as a const member functionLioncash
Corrects the typo in its name and marks the function as a const member function, given it doesn't actually modify memory manager state.
2019-05-09video_core/memory_manager: Mark the constructor as explicitLioncash
Prevents implicit converting constructions of the memory manager.
2019-05-09video_core/memory_manager: Default the destructor within the cpp fileLioncash
Makes the class less surprising when it comes to forward declaring the type, and also prevents inlining the destruction code of the class, given it contains non-trivial types.
2019-05-09video_core/memory_manager: Amend doxygen commentsLioncash
Corrects references to non-existent parameters and corrects typos.
2019-05-09video_core/memory_manager: Remove superfluous const from function declarationsLioncash
These are able to be omitted from the declaration of functions, since they don't do anything at the type system level. The definitions of the functions can retain the use of const though, since they make the variables immutable in the implementation of the function where they're used.
2019-05-09video_core/renderer_opengl/gl_shader_cache: Correct member initialization orderLioncash
Silences a -Wreorder warning.
2019-05-09video_core/shader/decode/texture: Remove unused variable from GetTld4Code()Lioncash
2019-05-09renderer_vulkan/vk_shader_decompiler: Remove unused variable from ↵Lioncash
DeclareInternalFlags()
2019-05-09video_core/renderer_opengl/gl_shader_decompiler: Remove unused Composite() ↵Lioncash
function This isn't used at all, so it can be removed.
2019-05-09video_core/renderer_opengl/gl_rasterizer_cache: Remove unused variable in ↵Lioncash
UploadGLMipmapTexture() This variable is unused entirely, so it can be removed.
2019-05-09video_core/gpu_thread: Remove unused local variableLioncash
Instead of retrieving the data from the std::variant instance, we can just check if the variant contains that type of data. This is essentially the same behavior, only it returns a bool indicating whether or not the type in the variant is currently active, instead of actually retrieving the data.
2019-05-09video_core/textures/astc: Remove unused variablesLioncash
Silences a few compilation warnings.
2019-05-09Merge pull request #2442 from FernandoS27/astc-fixbunnei
Fix Layered ASTC Textures
2019-05-09Merge pull request #2443 from ReinUsesLisp/skip-repeated-variantsbunnei
gl_shader_disk_cache: Skip stored shader variants instead of asserting
2019-05-09Merge pull request #2429 from FernandoS27/computebunnei
Corrections and Implementation on GPU Engines
2019-05-07Correct possible error on Rasterizer CachesFernando Sahmkow
There was a weird bug that could happen if the object died directly and the cache address wasn't stored.
2019-05-04shader/decode/texture: Remove unused variableLioncash
This isn't used anywhere, so we can get rid of it.
2019-05-04gl_rasterizer: Silence unused variable warningLioncash
Makes use of src, so it's not considered unused.
2019-05-02shader_ir/other: Implement IPA.IDXReinUsesLisp
2019-05-02gl_shader_decompiler: Skip physical unused attributesReinUsesLisp
2019-05-02shader_ir/memory: Assert on non-32 bits ALD.PHYSReinUsesLisp
2019-05-02shader: Add physical attributes commentariesReinUsesLisp
2019-05-02gl_shader_decompiler: Implement GLSL physical attributesReinUsesLisp
2019-05-02shader_ir/memory: Implement physical input attributesReinUsesLisp
2019-05-02gl_shader_decompiler: Abstract generic attribute operationsReinUsesLisp
2019-05-02gl_shader_decompiler: Declare all possible varyings on physical attribute usageReinUsesLisp
2019-05-02shader: Remove unused AbufNode Ipa modeReinUsesLisp
2019-05-02shader_ir/memory: Emit AL2P IRReinUsesLisp
2019-05-02shader_bytecode: Add AL2P decodingReinUsesLisp
2019-05-01Refactors and name corrections.Fernando Sahmkow
2019-05-01gl_shader_disk_cache: Skip stored shader variants instead of assertingReinUsesLisp
Instead of asserting on already stored shader variants, silently skip them. This shouldn't be happening but when a shader is invalidated and it is not stored in the shader cache, this assert would hit and save that shader anyways when the asserts are disabled.
2019-04-30Fix Layered ASTC TexturesFernando Sahmkow
By adding the missing layer offset in ASTC compression.
2019-04-30Merge pull request #2100 from FreddyFunk/disk-cache-precompiled-filebunnei
gl_shader_disk_cache: Improve precompiled shader cache generation speed and size
2019-04-28Merge pull request #2435 from ReinUsesLisp/misc-vcbunnei
shader_ir: Miscellaneous fixes
2019-04-28Merge pull request #2322 from ReinUsesLisp/wswitchbunnei
video_core: Silent -Wswitch warnings
2019-04-28Merge pull request #2423 from FernandoS27/half-correctbunnei
Corrections on Half Float operations: HADD2 HMUL2 and HFMA2
2019-04-26shader_ir: Move Sampler index entry in operand< to sort declarationsReinUsesLisp
2019-04-26shader_ir: Add missing entry to Sampler operand< comparisonReinUsesLisp
2019-04-26shader_ir/texture: Fix sampler const buffer key shiftReinUsesLisp