bunnei
bebe09a1aa
Merge pull request #630 from FearlessTobi/remove-citra-references
...
Remove some references to Citra
7 years ago
Zach Hilman
77c684c114
Virtual Filesystem ( #597 )
...
* Add VfsFile and VfsDirectory classes
* Finish abstract Vfs classes
* Implement RealVfsFile (computer fs backend)
* Finish RealVfsFile and RealVfsDirectory
* Finished OffsetVfsFile
* More changes
* Fix import paths
* Major refactor
* Remove double const
* Use experimental/filesystem or filesystem depending on compiler
* Port partition_filesystem
* More changes
* More Overhaul
* FSP_SRV fixes
* Fixes and testing
* Try to get filesystem to compile
* Filesystem on linux
* Remove std::filesystem and document/test
* Compile fixes
* Missing include
* Bug fixes
* Fixes
* Rename v_file and v_dir
* clang-format fix
* Rename NGLOG_* to LOG_*
* Most review changes
* Fix TODO
* Guess 'main' to be Directory by filename
7 years ago
fearlessTobi
c9aadff9a9
Remove some references to Citra
7 years ago
bunnei
51bd76a5fd
Merge pull request #629 from Subv/depth_test
...
GPU: Allow using the old NV04 values for the depth test function.
7 years ago
Subv
9f6a5660e8
GPU: Allow using the old NV04 values for the depth test function.
...
These seem to be just a valid as the GL token values. Thanks @ReinUsesLisp
This restores graphical output to Disgaea 5
7 years ago
bunnei
762bf6a522
Merge pull request #626 from Subv/shader_sync
...
GPU: Stub the shader SYNC and DEPBAR instructions.
7 years ago
bunnei
637f9d780a
Merge pull request #624 from Subv/f2f_round
...
GPU: Implemented the F2F 'round' rounding mode.
7 years ago
bunnei
956b5db52e
Merge pull request #623 from Subv/vertex_types
...
GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types
7 years ago
bunnei
8b815877a6
Merge pull request #622 from Subv/unused_tex
...
GPU: Ignore unused textures and corrected the TEX shader instruction decoding.
7 years ago
bunnei
1b0a74e23f
Merge pull request #621 from Subv/psetp_
...
GPU: Implemented the PSETP shader instruction.
7 years ago
bunnei
9a3c0b161e
Merge pull request #620 from Subv/depth_z32f
...
GPU: Implemented the 32 bit float depth buffer format.
7 years ago
Subv
b0c92b80b1
GPU: Implemented the IMNMX shader instruction.
...
It's similar to the FMNMX instruction but it works on integers.
7 years ago
Subv
d800a02b4b
GPU: Implemented the F2F 'round' rounding mode.
...
It's implemented via the GLSL 'roundEven()' function.
7 years ago
Subv
77cfe4f027
GPU: Stub the shader SYNC and DEPBAR instructions.
...
It is unknown at this moment if we actually need to do something with these instructions or if the GLSL compiler takes care of that for us.
7 years ago
Subv
ce39ae3e57
GPU: Implement the Size_16_16 and Size_10_10_10_2 vertex attribute types.
...
Both signed and unsigned variants.
7 years ago
Subv
4bda9693be
GPU: Ignore textures that the GLSL compiler deemed unused when binding textures to the shaders.
7 years ago
Subv
c42b818cf9
GPU: Corrected the decoding for the TEX shader instruction.
7 years ago
Subv
53a55bd751
GPU: Implemented the PSETP shader instruction.
...
It's similar to the isetp and fsetp instructions but it works on predicates instead.
7 years ago
Subv
016e357c75
GPU: Implemented the 32 bit float depth buffer format.
7 years ago
Subv
c1bebdef5e
GPU: Flip the triangle front face winding if the GPU is configured to not flip the triangles.
...
OpenGL's default behavior is already correct when the GPU is configured to flip the triangles.
This fixes 1-2 Switch's splash screen.
7 years ago
Subv
5a9df3c675
GPU: Only configure the used framebuffers during clear.
...
Don't try to configure the color buffer if it is not being cleared, it may not be completely valid at this point.
7 years ago
bunnei
c996787d84
Merge pull request #609 from Subv/clear_buffers
...
GPU: Implemented the CLEAR_BUFFERS register.
7 years ago
Subv
78443a7f29
GPU: Factor out the framebuffer configuration code for both Clear and Draw commands.
7 years ago
Subv
c1811ed3d1
GPU: Support clears that don't clear the color buffer.
7 years ago
Subv
be51120d23
GPU: Bind and clear the render target when the CLEAR_BUFFERS register is written to.
7 years ago
Subv
827bb08c91
GPU: Added registers for the CLEAR_BUFFERS and CLEAR_COLOR methods.
7 years ago
bunnei
9da1552417
gl_rasterizer_cache: Implement PixelFormat S8Z24.
7 years ago
David
3dab0e284b
Update AudioRenderer Voice Sections ( #614 )
...
* voice section updating
* fixed slight offset miscalculation
* fixed overflow
7 years ago
bunnei
15e68cdbaa
Merge pull request #607 from jroweboy/logging
...
Logging - Customizable backends
7 years ago
bunnei
e3ca561ea0
Merge pull request #612 from bunnei/fix-cull
...
gl_rasterizer: Only set cull mode and front face if enabled.
7 years ago
bunnei
ddb767f1b6
Merge pull request #611 from Subv/enabled_depth_test
...
GPU: Don't try to parse the depth test function if the depth test is disabled and use only the least significant 3 bits in the depth test func
7 years ago
bunnei
5410b4659d
Merge pull request #610 from Subv/mufu_8
...
GPU: Implemented MUFU suboperation 8, sqrt.
7 years ago
bunnei
a9cacd03f6
gl_rasterizer: Only set cull mode and front face if enabled.
7 years ago
Subv
6e0eba9917
GPU: Use only the least significant 3 bits when reading the depth test func.
...
Some games set the full GL define value here (including nouveau), but others just seem to set those last 3 bits.
7 years ago
Subv
65c664560c
GPU: Don't try to parse the depth test function if the depth test is disabled.
7 years ago
bunnei
76b475faf7
Fix build and address review feedback
7 years ago
James Rowe
6269a01b4e
Add configurable logging backends
7 years ago
James Rowe
0d46f0df12
Update clang format
7 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
7 years ago
bunnei
92c7135065
Merge pull request #608 from Subv/depth
...
GPU: Implemented the depth buffer and depth test + culling
7 years ago
Subv
a6d4903aaf
GPU: Set up the culling configuration on each draw.
7 years ago
Subv
6e4e0b2b41
GPU: Implemented MUFU suboperation 8, sqrt.
7 years ago
Sebastian Valle
055f1546d7
Merge pull request #606 from Subv/base_vertex
...
GPU: Fixed the index offset and implement BaseVertex when doing indexed rendering.
7 years ago
Sebastian Valle
79167fc989
Merge pull request #603 from Subv/nvmap_free
...
GPU: Remove unmapped surfaces from the rasterizer cache and fix our nvmap::Free behavior.
7 years ago
Sebastian Valle
9685dd5840
Merge pull request #605 from Subv/dma_copy
...
GPU: Directly copy the pixels when performing a same-layout DMA.
7 years ago
Subv
18c8ae7750
GPU: Set up the depth test state on every draw.
7 years ago
Subv
d480b63e0d
MaxwellToGL: Added conversion functions for depth test and cull mode.
7 years ago
Subv
c1f55c32c8
GPU: Added registers for depth test and cull mode.
7 years ago
Subv
0f929762b3
GPU: Implemented the Z24S8 depth format and load the depth framebuffer.
7 years ago
Subv
4c59105adf
GPU: Implement offsetted rendering when using non-indexed drawing.
7 years ago
Subv
fca3d1cc65
GPU: Fixed the index offset rendering, and implemented the base vertex functionality.
...
This fixes Stardew Valley.
7 years ago
Subv
cc73bad293
GPU: Added register definitions for the vertex buffer base element.
7 years ago
bunnei
3d41fdfbba
Merge pull request #604 from Subv/invalid_textures
...
GPU: Ignore invalid and disabled textures when drawing.
7 years ago
Subv
ca633a5a3c
GPU: Directly copy the pixels when performing a same-layout DMA.
7 years ago
Subv
80c5e8ae99
GPU: Ignore disabled textures and textures with an invalid address.
7 years ago
Subv
e9d147349b
GPU: Allow GpuToCpuAddress to return boost::none for unmapped addresses.
7 years ago
Subv
6c0c81dfdc
GPU: Remove a surface from the cache when its backing memory is being unmapped from the GPU's MMU.
7 years ago
Subv
a093feca62
nvmap: Return the address of the nvmap object when Freeing it for the last time.
...
This behavior is confirmed by reverse engineering.
7 years ago
bunnei
066d6184d4
Merge pull request #602 from Subv/mufu_subop
...
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
7 years ago
bunnei
b611d852db
Merge pull request #601 from Subv/rgba32_ui
...
GPU: Implement the RGBA32_UINT rendertarget format.
7 years ago
Subv
f33e406ff2
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
7 years ago
Subv
c0e2d52758
GPU: Implemented the RGBA32_UINT rendertarget format.
7 years ago
Subv
b11072d54a
GLCache: Specify the component type along the texture type in the format tuple.
7 years ago
bunnei
c96da97630
gl_shader_decompiler: Implement predicate NotEqualWithNan.
7 years ago
bunnei
50ef2beb58
Merge pull request #595 from bunnei/raster-cache
...
Rewrite the OpenGL rasterizer cache
7 years ago
bunnei
c18425ef98
gl_rasterizer_cache: Only dereference color_surface/depth_surface if valid.
7 years ago
bunnei
da2bdbc0d7
Merge pull request #588 from mailwl/hwopus
...
Service/Audio: add hwopus service, stub GetWorkBufferSize function
7 years ago
bunnei
7fa9177830
gl_shader_decompiler: Add a return path for unknown instructions.
7 years ago
bunnei
1dd754590f
gl_rasterizer_cache: Implement caching for texture and framebuffer surfaces.
...
gl_rasterizer_cache: Improved cache management based on Citra's implementation.
gl_surface_cache: Add some docstrings.
7 years ago
bunnei
8af1ae46aa
gl_rasterizer_cache: Various fixes for ASTC handling.
7 years ago
bunnei
c7c379bd19
gl_rasterizer_cache: Use SurfaceParams as a key for surface caching.
7 years ago
bunnei
6a28a66832
maxwell_3d: Add a struct for RenderTargetConfig.
7 years ago
bunnei
1bbbd26563
settings: Add a configuration for use_accurate_framebuffers.
7 years ago
bunnei
3f9f047375
gl_rasterizer: Implement AccelerateDisplay to forward textures to framebuffers.
7 years ago
bunnei
ff6785f3e8
gl_rasterizer_cache: Cache size_in_bytes as a const per surface.
7 years ago
bunnei
9f2f819bb6
gl_rasterizer_cache: Refactor to make SurfaceParams members const.
7 years ago
bunnei
5f57ab1b2a
gl_rasterizer_cache: Remove Citra's rasterizer cache, always load/flush surfaces.
7 years ago
bunnei
10422f3c18
gl_rasterizer: Workaround for when exceeding max UBO size.
7 years ago
bunnei
dfac394e60
Merge pull request #593 from bunnei/fix-swizzle
...
gl_state: Fix state management for texture swizzle.
7 years ago
bunnei
73de9bab1a
Merge pull request #592 from bunnei/cleanup-gl-state
...
gl_state: Remove unused state management from 3DS.
7 years ago
bunnei
8447d20a11
gl_state: Fix state management for texture swizzle.
7 years ago
bunnei
20b58bab9c
gl_state: Remove unused state management from 3DS.
7 years ago
bunnei
41b3725d28
gl_rasterizer_cache: Fix inverted B5G6R5 format.
7 years ago
bunnei
1669911b1d
yuzu: Remove SSBOs check from Qt frontend.
7 years ago
bunnei
36dedae842
Merge pull request #554 from Subv/constbuffer_ubo
...
Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.
7 years ago
bunnei
1da0ee57fd
Merge pull request #589 from mailwl/fix-crash
...
Fix crash at exit
7 years ago
mailwl
ad39bab271
Fix crash at exit
7 years ago
David
c9e821e93e
Send the correct RequestUpdateAudioRenderer revision in the output header ( #587 )
...
* We should be returning our revision instead of what is requested.
Hardware test on a 5.1.0 console
* Added sysversion comment
7 years ago
mailwl
11fb17054e
Service/Audio: add hwopus service, stub GetWorkBufferSize function
7 years ago
David
838724c588
Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader ( #583 )
...
* Removed duplicate structs, changed AudioRendererResponse -> UpdateDataHeader
According to game symbols(SMO), there's references to UpdateDataHeader which seems to be what AudioRendererResponse actually is
* oops
* AudioRendererParameters should be AudioRendererParameter according to SMO
7 years ago
David
81f24f5685
Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes properly ( #580 )
...
* Fixed RequestUpdateAudioRenderer deadlocks and calculated section sizes properly
This fixes RequestUpdateAudioRenderer deadlocks in games like Puyo Puyo Tetris and games which require a proper section size in games such as Retro City Rampage. This fixes causes various games to start rendering or trying to render
7 years ago
bunnei
6d7941042b
Merge pull request #579 from SciresM/master
...
svc: Fully implement svcSignalToAddress and svcWaitForAddress
7 years ago
mailwl
a27befe456
IPC: skip empty buffer write
...
prevent yuzu crash, if games, like Axiom Verge, trying to read 0 bytes from file
7 years ago
Michael Scire
067ac434ba
Kernel/Arbiters: Fix casts, cleanup comments/magic numbers
7 years ago
Michael Scire
5f8aa02584
Add additional missing format.
7 years ago
Michael Scire
08d454e30d
Run clang-format on PR.
7 years ago
bunnei
b7162c32a4
Merge pull request #577 from mailwl/audren-update
...
Service/Audio: update audren:u service
7 years ago
Michael Scire
dc70a87af1
Kernel/Arbiters: HLE is atomic, adjust code to reflect that.
7 years ago
Zach Hilman
63f26d5c40
Add support for decrypted NCA files ( #567 )
...
* Start to add NCA support in loader
* More nca stuff
* More changes to nca.cpp
* Now identifies decrypted NCA cont.
* Game list fixes and more structs and stuff
* More updates to Nca class
* Now reads ExeFs (i think)
* ACTUALLY LOADS EXEFS!
* RomFS loads and games execute
* Cleanup and Finalize
* plumbing, cleanup and testing
* fix some things that i didnt think of before
* Preliminary Review Changes
* Review changes for bunnei and subv
7 years ago
Michael Scire
8f8fe62a19
Kernel/Arbiters: Initialize arb_wait_address in thread struct.
7 years ago
Michael Scire
62bd1299ea
Kernel/Arbiters: Clear WaitAddress in SignalToAddress
7 years ago
Michael Scire
4f81bc4e1b
Kernel/Arbiters: Mostly implement SignalToAddress
7 years ago
Michael Scire
9d71ce88ce
Kernel/Arbiters: Implement WaitForAddress
7 years ago
mailwl
c06d6b27f3
Service/Audio: update audren:u service
7 years ago
Michael Scire
7e191dccc1
Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs.
7 years ago
Subv
a3d82ef5d9
Build: Fixed some MSVC warnings in various parts of the code.
7 years ago
greggameplayer
be1f5dedfb
Implement GetAvailableLanguageCodes2 ( #575 )
...
* Implement GetAvailableLanguageCodes2
* Revert "Implement GetAvailableLanguageCodes2"
This reverts commit caadd9eea3497ae2a13382aecb8ca29e1c02c5af.
* Implement GetAvailableLanguageCodes2
* Implement GetAvailableLanguageCodes2
7 years ago
bunnei
7a0bb406d5
Merge pull request #574 from Subv/shader_abs_neg
...
GPU: Perform negation after absolute value in the float shader instructions.
7 years ago
bunnei
0d8ae773f1
Merge pull request #561 from DarkLordZach/fix-odyssey-input-crash
...
Avoid initializing single-joycon layouts with handheld controller
7 years ago
Subv
38989bef43
GPU: Perform negation after absolute value in the float shader instructions.
7 years ago
Subv
eab7457c00
GPU: Don't mark uniform buffers and registers as used for instructions which don't have them.
...
Like the MOV32I and FMUL32I instructions.
This fixes a potential crash when using these instructions.
7 years ago
Subv
5f57a70a7d
Services/FS: Return the correct error code when trying to mount a nonexistent savedata.
7 years ago
bunnei
0e13d9cb7b
Merge pull request #570 from bunnei/astc
...
gl_rasterizer: Implement texture format ASTC_2D_4X4.
7 years ago
bunnei
c11cfaa705
Merge pull request #562 from DarkLordZach/extracted-ncas-ui
...
Add UI support for extracted NCA folders
7 years ago
bunnei
4ac4b308e4
Merge pull request #572 from Armada651/user-except-stub
...
svc: Add a stub for UserExceptionContextAddr.
7 years ago
bunnei
ea080501fb
Merge pull request #571 from Armada651/loose-blend
...
gl_rasterizer: Get loose on independent blending.
7 years ago
Jules Blok
bf4e2b2f0b
svc: Add a stub for UserExceptionContextAddr.
7 years ago
Jules Blok
7c7f4a9be2
gl_rasterizer: Get loose on independent blending.
7 years ago
bunnei
61779fa072
gl_rasterizer: Implement texture format ASTC_2D_4X4.
7 years ago
bunnei
fe906fff36
gl_rasterizer_cache: Loosen things up a bit.
7 years ago
bunnei
afdd657d30
gl_shader_decompiler: Implement LOP instructions.
7 years ago
bunnei
5673ce39c7
gl_shader_decompiler: Refactor LOP32I instruction a bit in support of LOP.
7 years ago
bunnei
d383043e07
gl_shader_decompiler: Implement integer size conversions for I2I/I2F/F2I.
7 years ago
bunnei
fb5bd0920d
Merge pull request #564 from bunnei/lop32i_passb
...
gl_shader_decompiler: Implement LOP32I LogicOperation PassB.
7 years ago
bunnei
55c49d5bf4
gl_shader_gen: Set position.w to 1.
7 years ago
bunnei
61f9d9c4ab
gl_shader_decompiler: Implement LOP32I LogicOperation PassB.
7 years ago
Zach Hilman
acc8fe5a2a
Bug fixes, testing, and review changes
7 years ago
Zach Hilman
f969ddb54e
Add 'Load Folder' menu option
7 years ago
Zach Hilman
9f8fbce35b
Add support for main files in file picker
7 years ago
Zach Hilman
94d27b1717
Recognize main files in game list
7 years ago
Zach Hilman
ac88d3e89f
Narrow down filter of layout configs
7 years ago
Zach Hilman
a353322b58
Move loop condition to free function
7 years ago
Zach Hilman
50153a1cb2
Avoid initializing single-joycon layouts with handheld controller
7 years ago
bunnei
17f3590d59
Merge pull request #560 from Subv/crash_widget
...
Qt: Removed the Registers widget.
7 years ago
Subv
7786f41cc0
Qt: Removed the Registers widget.
...
It was crashing and nobody actually uses this.
7 years ago
bunnei
019d7208c8
Merge pull request #556 from Subv/dma_engine
...
GPU: Partially implemented the Maxwell DMA engine.
7 years ago
bunnei
2015a1b180
Merge pull request #558 from Subv/iadd32i
...
GPU: Implemented the iadd32i shader instruction.
7 years ago
Subv
db0497b808
GPU: Implemented the iadd32i shader instruction.
7 years ago
Subv
987a170665
GPU: Partially implemented the Maxwell DMA engine.
...
Only tiled->linear and linear->tiled copies that aren't offsetted are supported for now. Queries are not supported. Swizzled copies are not supported.
7 years ago
bunnei
33dbf24b56
Merge pull request #557 from shinyquagsire23/libnx-hid-fix
...
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
7 years ago
bunnei
5f3d6c85db
gl_shader_decompiler: Implement saturate for float instructions.
7 years ago
shinyquagsire23
2f9c0e7c7e
hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO
7 years ago
Subv
004b1b3830
GPU: Convert the gl_InstanceId and gl_VertexID variables to floats when reading from them.
...
This corrects the invalid position values in some games when doing attribute-less rendering.
7 years ago
Subv
2a7653142d
Rasterizer: Use UBOs instead of SSBOs for uploading const buffers.
...
This should help a bit with GPU performance once we're GPU-bound.
7 years ago
Subv
b366b885a1
GPU: Implement the iset family of shader instructions.
7 years ago
Subv
3cb753eeb1
GPU: Added decodings for the ISET family of instructions.
7 years ago
bunnei
d81aaa3ed3
Merge pull request #550 from Subv/ssy
...
GPU: Stub the SSY shader instruction.
7 years ago
bunnei
e2176dc7ce
Merge pull request #551 from bunnei/shr
...
gl_shader_decompiler: Implement SHR instruction.
7 years ago
bunnei
5440b9c634
gl_shader_decompiler: Implement SHR instruction.
7 years ago
Subv
abec5f82e2
GPU: Stub the SSY shader instruction.
...
This instruction tells the GPU where the flow reconverges in a non-uniform control flow scenario, we can ignore this when generating GLSL code.
7 years ago
bunnei
bbc4f369ed
gl_shader_decompiler: Implement IADD instruction.
7 years ago
bunnei
79e9c2e237
gl_shader_decompiler: Add missing asserts for saturate_a instructions.
7 years ago
bunnei
9949e4d508
Merge pull request #533 from mailwl/array-to-buffer
...
Common/string_util: add StringFromBuffer() function
7 years ago
Subv
c011b6f67e
GPU: Synchronize the blend state on every draw call.
...
Only independent blending on render target 0 is implemented for now.
This fixes the elongated squids in Splatoon 2's boot screen.
7 years ago
Subv
c712dafaee
GPU: Added registers for normal and independent blending.
7 years ago
bunnei
a931cf9e8b
Merge pull request #547 from Subv/compressed_alignment
...
GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures.
7 years ago
Subv
8d9534d830
GLCache: Align compressed texture sizes to their compression ratio, and then align that compressed size to the block height for tiled textures.
...
This fixes issues with retrieving non-block-aligned tiled compressed textures from the cache.
7 years ago
Subv
47dc5e0dab
Rasterizer: Flush the written region when writing shader uniform data before copying it to the uniform buffers.
...
This fixes the flip_viewport uniform having invalid values when drawing.
7 years ago
bunnei
ee318d4015
Merge pull request #543 from Subv/uniforms
...
GLRenderer: Write the shader stage configuration UBO data *before* copying it to the GPU.
7 years ago
Subv
86146ef819
GLRenderer: Write the shader stage configuration UBO data *before* copying it to the GPU.
...
This should fix the bug with the vs_config UBO being uninitialized during shader execution.
7 years ago
mailwl
a2efb1dd48
Common/string_util: add StringFromBuffer function
...
convert input buffer (std::vector<u8>) to string, stripping zero chars
7 years ago
bunnei
ee1eb8cfdf
Merge pull request #522 from mailwl/mm-u
...
Service/MM: add service and stub some functions
7 years ago
bunnei
0639e03055
Merge pull request #542 from bunnei/bfe_imm
...
gl_shader_decompiler: Implement BFE_IMM instruction.
7 years ago
bunnei
930487c7fb
Merge pull request #541 from Subv/blittextures
...
GLCache: Fixed copying compressed textures in the rasterizer cache.
7 years ago
bunnei
92209f905f
gl_shader_decompiler: Implement BFE_IMM instruction.
7 years ago
Subv
f22e090b86
GLCache: Use the full uncompressed size when blitting from one texture to another.
...
This avoids the problem of only copying a tiny piece of the textures when they are compressed.
7 years ago
Subv
218a08df93
GLCache: Simplify the logic to copy from one texture to another in BlitTextures.
...
We now use glCopyImageSubData, this should avoid errors with trying to attach a compressed texture as a framebuffer's color attachment and then blitting to it.
Maybe in the future we can change this to glCopyTextureSubImage which only requires GL_ARB_direct_state_access.
7 years ago
bunnei
0cb7ce71e0
Merge pull request #539 from bunnei/f2f-rounding
...
gl_shader_decompiler: F2F: Implement rounding modes.
7 years ago
bunnei
9f21f20d7c
Merge pull request #503 from mailwl/nfp-stubs
...
Service/nfp:user : stub some functions.
7 years ago
bunnei
128aeba0f3
gl_shader_decompiler: F2F: Implement rounding modes.
7 years ago
bunnei
03f877919d
Merge pull request #537 from bunnei/misc-shader
...
gl_shader_decompiler: Additional decodings, remove unused stuff from TEX
7 years ago
bunnei
37f50c8773
Merge pull request #535 from Subv/gpu_swizzle
...
GPU: Support changing the texture swizzles for Maxwell textures.
7 years ago
bunnei
00c830405b
gl_shader_decompiler: Remove some attribute stuff that has nothing to do with TEX/TEXS.
7 years ago
bunnei
4b114e1b8a
shader_bytecode: Add instruction decodings for BFE, IMNMX, and XMAD.
7 years ago
bunnei
0a49c46353
gl_shader_decompiler: Implement ISETP_IMM instruction.
7 years ago
Subv
47629c89a8
GPU: Support changing the texture swizzles for Maxwell textures.
7 years ago
Subv
89e81a9be2
GLState: Support changing the GL_TEXTURE_SWIZZLE parameter of each texture unit.
7 years ago
bunnei
0ff2929644
Merge pull request #534 from Subv/multitexturing
...
GPU: Implement sampling multiple textures in the generated glsl shaders.
7 years ago
bunnei
4669f15f8b
gl_shader_decompiler: Implement LD_C instruction.
7 years ago
bunnei
4112aa68a6
gl_shader_gen: Add uniform handling for indirect const buffer access.
7 years ago
bunnei
6e386a334b
gl_shader_decompiler: Refactor uniform handling to allow different decodings.
7 years ago
Subv
dbfc39d214
GPU: Implement sampling multiple textures in the generated glsl shaders.
...
All tested games that use a single texture show no regression.
Only Texture2D textures are supported right now, each shader gets its own "tex_fs/vs/gs" sampler array to maintain independent textures between shader stages, the textures themselves are reused if possible.
7 years ago
mailwl
61fbf5c8e6
Stub IUser::AttachAvailabilityChangeEvent
7 years ago
greggameplayer
be09dfeed9
nvdrv/devices/nvidia_ctrl_gpu : add IoctlCommands with their params ( #524 )
...
* add IoctlCommands with their params in nvidia_ctrl_gpu.h
* add function related to the changes done previously
* fix clang-format
* delete trailing whitespace
* correct mistake
7 years ago
Sebastian Valle
2f842a86fe
Merge pull request #529 from bunnei/am-nifm-stubs
...
Stub SetConnectionConfirmationOption, GetPseudoDeviceId
7 years ago
Sebastian Valle
ce026332a5
Merge pull request #531 from bunnei/fix-shl
...
gl_shader_decompiler: Fix un/signed mismatch with SHL.
7 years ago
Sebastian Valle
fa220dd709
Merge pull request #530 from bunnei/wrap-mirror
...
maxwell_to_gl: Implement WrapMode Mirror.
7 years ago
mailwl
a776464a55
Remove unused header files
7 years ago
bunnei
9a85277d83
Merge pull request #527 from Subv/rgba32f_texcopy
...
GPU: Allow the usage of RGBA32_FLOAT and RGBA16_FLOAT in the texture copy engine.
7 years ago
bunnei
05dc93399b
Merge pull request #528 from Subv/rg11b10f
...
GPU: Implemented the R11FG11FB10F texture and rendertarget formats.
7 years ago
Hedges
39fb3e362c
GDB Stub Improvements ( #508 )
...
* GDB Stub should work now.
* Applied clang-format.
* Replaced htonll with swap64.
* Tidy up.
7 years ago
bunnei
566f97b580
gl_shader_decompiler: Fix un/signed mismatch with SHL.
7 years ago
bunnei
bf0543af23
maxwell_to_gl: Implement WrapMode Mirror.
7 years ago
bunnei
c5684411a0
nifm: Stub out IRequest::SetConnectionConfirmationOption.
7 years ago
bunnei
2abe5e39fc
am: Stub out IApplicationFunctions::GetPseudoDeviceId.
7 years ago
Subv
adf47cd59a
GPU: Allow the usage of RGBA16_FLOAT in the texture copy engine.
7 years ago
Subv
c531a92eda
GPU: Implemented the R11FG11FB10F texture and rendertarget formats.
7 years ago
Subv
14afc704d4
GPU: Fixed the compression factor for RGBA16F textures.
...
They're not compressed.
7 years ago
Subv
8d70d1ea45
GPU: Allow the usage of RGBA32_FLOAT in the texture copy engine.
7 years ago
bunnei
5fb99e6a16
Merge pull request #516 from Subv/f2i_r
...
GPU: Implemented the F2I_R shader instruction.
7 years ago
bunnei
38eb33f150
Merge pull request #521 from Subv/bra
...
GPU: Corrected the branch targets for the shader bra instruction.
7 years ago
bunnei
b54a72afc0
Merge pull request #520 from bunnei/shader-shl
...
gl_shader_decompiler: Implement SHL instruction.
7 years ago
mailwl
62cd19e4ae
Small fixes
7 years ago
mailwl
7e3d746b06
Service/MM: add service and stub some functions
7 years ago
Subv
e7dfcdde74
GPU: Corrected the branch targets for the shader bra instruction.
7 years ago
Subv
4b89348c00
GPU: Implemented the F2I_R shader instruction.
7 years ago
bunnei
8c99dd055c
Merge pull request #518 from Subv/incomplete_shaders
...
GPU: Implemented predicated exit instructions in the shader programs.
7 years ago
bunnei
799e632ccb
gl_shader_decompiler: Fix typo with ISCADD instruction.
7 years ago
bunnei
c23c30c76f
gl_shader_decompiler: Implement SHL instruction.
7 years ago
bunnei
6ea1576513
gl_shader_decompiler: Implement PredCondition::NotEqual.
7 years ago
Subv
23b1e6eded
GPU: Implement the ISCADD shader instructions.
7 years ago
Subv
438a9b70cc
GPU: Added decodings for the ISCADD instructions.
7 years ago
bunnei
e8bfff7b4b
Merge pull request #514 from Subv/lop32i
...
GPU: Implemented the LOP32I instruction.
7 years ago
bunnei
f564822e78
Merge pull request #510 from Subv/isetp
...
GPU: Implemented the ISETP_R and ISETP_C instructions
7 years ago
Subv
6cf6fa2842
GPU: Implement predicated exit instructions in the shader programs.
7 years ago
Subv
d27279092f
GPU: Take into account predicated exits when performing shader control flow analysis.
7 years ago
bunnei
37fd4e6d9b
Merge pull request #512 from Subv/fset
...
GPU: Corrected the FSET and I2F instructions.
7 years ago
bunnei
cdd92dc692
Merge pull request #501 from Subv/shader_bra
...
GPU: Partially implemented the bra shader instruction
7 years ago
bunnei
38d25a4cb2
Merge pull request #515 from Subv/viewport_fix
...
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
7 years ago
Subv
2933521a08
GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f.
7 years ago
Subv
f6679ce422
GPU: Corrected the I2F_R implementation.
7 years ago
Subv
5d55403f94
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
...
This is how nouveau calculates the viewport width and height. For some reason some games set 0xFFFF in the VIEWPORT_HORIZ and VIEWPORT_VERT registers, maybe those are a misnomer and actually refer to something else?
7 years ago
bunnei
0a0233f39f
Merge pull request #490 from BreadFish64/extension-check
...
Add checks for OpenGL extension support
7 years ago
bunnei
9936d1b9e2
Merge pull request #513 from Subv/cache_alignment
...
GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface.
7 years ago
greggameplayer
4fad069870
Nvdrv/devices/nvhost_gpu : Add some IoctlCommands with their params ( #511 )
...
* Add some IoctlCommand with their params to nvhost_gpu
* fix clang-format
* delete trailing whitespace
* fix some clang-format
* delete one other trailing whitespace
* last clang-format fix
7 years ago
Subv
0c688b421c
GPU: Implemented the LOP32I instruction.
7 years ago
Subv
cb47abecc6
GLCache: Corrected a mismatch between storing compressed sizes and verifying the uncompressed alignment in GetSurface.
7 years ago
BreadFish64
fbef849c04
sdl: add check for GL extension support
7 years ago
BreadFish64
0641950f9a
qt: add check for GL extension support
7 years ago
Subv
90cddf1996
GPU: Use explicit types when retrieving the uniform values for fsetp/fset and isetp instead of the type of an invalid output register.
7 years ago
Subv
7c181fd4f4
GPU: Implemented the ISETP_R and ISETP_C shader instructions.
7 years ago
mailwl
bb081dd1d2
Correct function results
7 years ago
mailwl
019778707d
Service/nfp:user : stub some functions.
...
Used by Zelda: BoTW
7 years ago
bunnei
afdd2f4cad
am: Implement ILibraryAppletAccessor::PopOutData.
7 years ago
bunnei
df4336a85e
am: ISelfController:LaunchableEvent should be sticky.
7 years ago
bunnei
51d8a2c322
am: Stub out ILibraryAppletAccessor Start and GetResult methods.
7 years ago
bunnei
049ce242a4
Merge pull request #499 from bunnei/am-stuff
...
am: Implement CreateStorage, PushInData, etc.
7 years ago
Subv
b481d8a00d
GPU: Partially implemented the shader BRA instruction.
7 years ago
Subv
06c72b4fcf
GPU: Added decoding for the BRA instruction.
7 years ago
bunnei
876b805e50
am: Implement ILibraryAppletAccessor::PushInData.
7 years ago
bunnei
2dcb98226b
am: Implement IStorageAccessor::Write.
7 years ago
bunnei
9fedfbe141
am: Cleanup IStorageAccessor::Read.
7 years ago
bunnei
d73c22bf4d
am: Implement ILibraryAppletCreator::CreateStorage.
7 years ago
bunnei
ba117854f9
Merge pull request #500 from Subv/long_queries
...
GPU: Partial implementation of long GPU queries.
7 years ago
Subv
d57333406d
GPU: Partial implementation of long GPU queries.
...
Long queries write a 128-bit result value to memory, which consists of a 64 bit query value and a 64 bit timestamp.
In this implementation, only select=Zero of the Crop unit is implemented, this writes the query sequence as a 64 bit value, and a 0u64 value for the timestamp, since we emulate an infinitely fast GPU.
This specific type was hwtested, but more rigorous tests should be performed in the future for the other types.
7 years ago
bunnei
1efcba346a
gl_shader_decompiler: Implement TEXS component mask.
7 years ago
bunnei
bb9d39b8fe
Merge pull request #494 from bunnei/shader-tex
...
gl_shader_decompiler: Implement TEX, fixes for TEXS.
7 years ago
bunnei
27c0f9e02d
Merge pull request #495 from bunnei/improve-rro
...
gl_shader_decompiler: Implement RRO as a register move.
7 years ago
bunnei
41faeeeb03
Merge pull request #484 from mailwl/nvhost-nvdec
...
Services/nvdrv: add '/dev/nvhost-nvdec' device
7 years ago
bunnei
63270e588b
Merge pull request #496 from Subv/waitprocesswidekey_timeout
...
Kernel/Threads: A thread waking up by timeout from a WaitProcessWideKey may already have an assigned lock owner.
7 years ago
bunnei
e54ea773fc
gl_shader_decompiler: Implement RRO as a register move.
7 years ago
Subv
9cd87a6352
Kernel/Threads: A thread waking up by timeout from a WaitProcessWideKey may already have an assigned lock owner.
...
This situation may happen like so:
Thread 1 with low priority calls WaitProcessWideKey with timeout.
Thread 2 with high priority calls WaitProcessWideKey without timeout.
Thread 3 calls SignalProcessWideKey
- Thread 2 acquires the lock and awakens.
- Thread 1 can't acquire the lock and is put to sleep with the lock owner being Thread 2.
Thread 1's timeout expires, with the lock owner still being set to Thread 2.
7 years ago
Subv
99f9d47d16
GPU: Implemented the DXN1 (BC4) texture format.
7 years ago
mailwl
11568c2ea3
Service/time: implement posix time to calendar conversion
7 years ago
bunnei
888eb345c0
gl_shader_decompiler: Implement TEX instruction.
7 years ago
bunnei
4c727d0ba8
gl_shader_decompiler: Support multi-destination for TEXS.
7 years ago
bunnei
bdd68fc210
Merge pull request #488 from Subv/thread_masks
...
Kernel/SVC: Corrected the behavior of svcSetThreadCoreMask for core values -2 and -3.
7 years ago
bunnei
49309b5848
gl_rasterizer_cache: Assert that component type is UNorm or format is RGBA16F.
7 years ago
Subv
c02d7c8ce7
Kernel/Thread: Corrected a typo that caused the affinity mask to never be changed.
7 years ago
Subv
3957b0c34e
Kernel/SVC: Support special core values -2 and -3 in svcSetThreadCoreMask.
...
Also added some proper error handling.
7 years ago
bunnei
ca5a4a704b
gl_rasterizer_cache: Implement PixelFormat RGBA16F.
7 years ago
bunnei
15086a22be
Merge pull request #489 from Subv/vertexid
...
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
7 years ago
greggameplayer
94fecef137
add IPC CommandType & Some HID FunctionInfo ( #487 )
...
* add some CommandType
* add some hid FunctionInfo
* add some other HID FunctionInfo
* delete non useful comments
7 years ago
Subv
d1f9c750a6
Kernel/Thread: Corrected a typo in an assert about the processor id.
7 years ago
Subv
99f12b05fa
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
7 years ago
Sebastian Valle
8df011a57f
Merge pull request #483 from bunnei/sonic
...
Several GPU fixes to boot Sonic Mania
7 years ago
mailwl
9a273bb23b
Services/nvdrv: add '/dev/nvhost-nvdec' device
7 years ago
bunnei
6fcc7e9c36
gl_shader_decompiler: F2F_R instruction: Implement abs.
7 years ago
bunnei
68937a662d
gl_shader_decompiler: Partially implement F2F_R instruction.
7 years ago
Subv
734106dcb9
GPU: Implemented the R8 texture format (0x1D)
7 years ago
bunnei
6306655665
nvhost_ctrl: Stub out IocCtrlEventRegister.
7 years ago
bunnei
0658973a4e
nvhost_ctrl: Stub out IocCtrlEventWaitAsyncCommand.
7 years ago
bunnei
0d843eaba6
gl_rasterize_cache: Invert order of tex format RGB565.
7 years ago
bunnei
5a763e8a5a
Merge pull request #480 from mailwl/bcat
...
Service/BCAT: add module and services
7 years ago
greggameplayer
220d4672df
add all the known TextureFormat ( #474 )
7 years ago
mailwl
7757cc1a7f
Service/BCAT: add module and services
7 years ago
bunnei
d809f65827
Merge pull request #472 from bunnei/greater-equal
...
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
7 years ago
bunnei
7f155ba713
Merge pull request #476 from Subv/a1bgr5
...
GPU: Implemented the A1B5G5R5 texture format (0x14)
7 years ago
bunnei
7029daa32e
Merge pull request #475 from ogniK5377/nvos-getconfig
...
NvOsGetConfigU32 should return null instead of 0 for default output value
7 years ago
bunnei
15c388e0d6
Merge pull request #473 from bunnei/get-display-version
...
am: Stub IApplicationFunctions GetDisplayVersion.
7 years ago
Subv
7ddc872b52
GPU: Implemented the A1B5G5R5 texture format (0x14)
7 years ago
David Marcec
6138075df0
NvOsGetConfigU32 should return null instead of 0 for default output
7 years ago
bunnei
0d681f7a7a
am: Stub IApplicationFunctions GetDisplayVersion.
7 years ago
bunnei
c23ce3365d
gl_shader_decompiler: Implement GetPredicateComparison GreaterEqual.
7 years ago
bunnei
ee53688ca7
shader_bytecode: Implement other variants of FMNMX.
7 years ago
greggameplayer
b16e5c6a81
Add & correct miscellaneous things ( #470 )
...
* add some InfoType
* correct OpenApplicationProxy cmd number
* add IDisplayController functions
* fix clang-format
* add more system languages
7 years ago
bunnei
87f21657f8
Merge pull request #466 from mailwl/nv-timeout
...
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
7 years ago
David
e6df4b37db
GetAudioRendererWorkBufferSize impl ( #465 )
...
* GetAudioRendererWorkBufferSize impl
Impl of GetAudioRendererWorkBufferSize based on RE, if this can be cleaned up, please contribute!
* Naming conventions
* Removed unneeded placeholder
* lioncache changes
* fixed const
* switched to Common::AlignUp
7 years ago
bunnei
aee356bd10
Merge pull request #468 from Subv/compound_preds
...
Shader: Implemented compound predicates in the fset and fsetp instructions
7 years ago
bunnei
cd7665218d
Merge pull request #469 from Subv/channel_rebind
...
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
7 years ago
Subv
e2cdf54177
Shader: Implemented compound predicates in fset.
...
You can specify a predicate in the fset instruction:
Result = ((Value1 Comp Value2) OP P0) ? 1.0 : 0.0;
7 years ago
David
e3a92b09ba
Stubbed NVGPU_GPU_IOCTL_ZBC_SET_TABLE ( #463 )
...
We have no clue on what this actually does yet so stubbing it since it's just input only should be fine for now
7 years ago
Subv
e2db7a83f6
GPU: Allow command lists to rebind a channel to another engine in the middle of the command list.
7 years ago
Subv
126270d963
Shader: Implemented compound predicates in fsetp.
...
You can specify three predicates in an fsetp instruction:
P1 = (Value1 Comp Value2) OP P0;
P2 = !(Value1 Comp Value2) OP P0;
7 years ago
mailwl
e6a87428ae
Stub NVGPU_IOCTL_CHANNEL_SET_TIMEOUT
...
Used in Nintendo Labo ToyCon 1&2
7 years ago
bunnei
1ce7942dc2
yuzu_cmd: Fix project for latest msvc.
7 years ago
David Marcec
c74d24f841
Fix deadlocks caused from HID having too many layouts
...
Games such as SMO deadlock if we have more than 2 layouts
7 years ago
bunnei
4cb92b776c
Merge pull request #460 from greggameplayer/patch-6
...
Add & correct some error modules
7 years ago
bunnei
a55f112cb1
Merge pull request #459 from greggameplayer/patch-5
...
Add ioctl commands with their params and size check
7 years ago
bunnei
3825b703fa
Merge pull request #454 from Subv/signal_processwide
...
Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey
7 years ago
greggameplayer
1efb81a61d
Add & correct some error modules
7 years ago
greggameplayer
3c26b7179d
change some functions
...
according to the changes made previously
7 years ago
greggameplayer
8c648b59cd
correct placement and add size check
7 years ago
greggameplayer
f217d6c66f
Add ioctl commands with their params and size check
7 years ago
David
58d9078742
Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE ( #440 )
...
* Implemented NVHOST_IOCTL_CHANNEL_GET_WAITBASE
struct + 4 seems to be hard coded at 0 and struct + 0 seems to be ignored?
* IocGetWaitbase -> IocChannelGetWaitbaseCommand
* Added super late fixes
7 years ago
bunnei
58857b9f46
Merge pull request #456 from Subv/unmap_buffer
...
Implemented nvhost-as-gpu's UnmapBuffer and nvmap's Free ioctls.
7 years ago
greggameplayer
c6eaf0b2cf
Correct audio command numbers & add or rename some functions ( #455 )
...
* Add unknown function at the number command 2
* correct audout:u commands numbers
* correct audrec:u cmd number & add Unknown function
* correct IAudioDevice command numbers
* correct codecctl cmd numbers & rename the 8 function
* correct place of unknown function & fix clang-format
7 years ago
bunnei
693f78e6c2
Merge pull request #457 from Subv/mutex_waiters
...
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
7 years ago
bunnei
898f0fa029
Merge pull request #458 from Subv/fmnmx
...
Shaders: Implemented the FMNMX shader instruction.
7 years ago
bunnei
ff54287a73
Merge pull request #445 from greggameplayer/patch-2
...
Properly rename functions of Fatal Module & add ThrowFatal to this module
7 years ago
Sebastian Valle
882111c4f2
Merge pull request #453 from Subv/thread_callstack
...
Qt/WaitTree: Display the callstack for each thread in the wait tree widget
7 years ago
Sebastian Valle
6486544e09
Merge pull request #452 from Subv/psetp
...
ShadersDecompiler: Added decoding for the PSETP instruction.
7 years ago
Sebastian Valle
2dbfcd32d7
Merge pull request #451 from Subv/gl_array_size
...
GLRenderer: Remove unused vertex buffer and increase the size of the stream buffer to 128 MB.
7 years ago
Subv
8440cef223
Shaders: Implemented the FMNMX shader instruction.
7 years ago
Subv
fd500d3da6
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
...
A thread may own multiple mutexes at the same time, and only release one of them while other threads are waiting for the other mutexes.
7 years ago
Subv
525492428d
GPU: Implemented the nvmap Free ioctl.
...
It releases a reference to an nvmap object
7 years ago
Subv
72b5c448cf
GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.
...
It removes a mapping previously created with the MapBufferEx ioctl.
7 years ago
Sebastian Valle
03388c3071
Merge pull request #450 from Subv/shader_link_error
...
GLRenderer: Log the shader source code when program linking fails.
7 years ago
Sebastian Valle
353e1dd7e4
Merge pull request #443 from ogniK5377/ipc-500
...
Added IPC RequestWithContext & ControlWithContext
7 years ago
greggameplayer
a215f63235
Add and correct some Error Modules ( #444 )
...
* Add and correct some Error Modules
7 years ago
Subv
2a35a36251
Kernel/SVC: Signal the highest priority threads first in svcSignalProcessWideKey.
7 years ago
Subv
c74f2555b6
Kernel/Threads: Reschedule the proper core when operating on that core's threads.
7 years ago
Subv
fab3dd98fe
SVC: Removed unused WaitSynchronization1 function
7 years ago
Subv
c50393e066
Qt/WaitTree: Display the callstack for each thread in the wait tree widget.
7 years ago
Subv
a056d5ad8c
ShadersDecompiler: Added decoding for the PSETP instruction.
7 years ago
Subv
98b143c2d6
GLRenderer: Remove unused hw_vao_enabled_attributes variable.
7 years ago
Subv
370ab5df9b
GLRenderer: Remove unused vertex buffer and increase the size of the stream buffer to 128 MB.
...
The stream buffer is where all the vertex data is copied, some games require this to be much bigger than the 4 MB we used to have.
7 years ago
Subv
21959ddfef
GLRenderer: Log the shader source code when program linking fails.
7 years ago
greggameplayer
abe79b2724
rename fatal:u functions & add ThrowFatal
7 years ago
greggameplayer
536cfb13e6
Properly update fatal.h void name
7 years ago
greggameplayer
e35cfc1b03
Properly rename fatal module functions
7 years ago
David Marcec
fd86cdb2e2
Added RequestWithContext & ControlWithContext
7 years ago
Hexagon12
0984e9d601
Updated nfp with more service names
7 years ago
bunnei
1b5c02fc37
Merge pull request #436 from bunnei/multi-core
...
Initial support for multi-core
7 years ago
David Marcec
e7b0e8a3cc
More accurate GetTPCMasks impl
7 years ago
bunnei
811dae12f9
core: Add several missing docstrings.
7 years ago
bunnei
46ec9a9bc9
thread: Rename mask to affinity_masks.
7 years ago
bunnei
edc52250b8
core: Run all CPU cores separately, even in single-thread mode.
7 years ago
bunnei
fbd7afefaa
thread: Support core change on ResumeFromWait and improve ChangeCore.
7 years ago
bunnei
91af2f94e8
scheduler: Protect scheduling functions with a global mutex.
7 years ago
bunnei
e6671190a5
wait_tree: Add ideal core and affinity mask.
7 years ago
bunnei
4822765fef
thread: Initialize ideal_core and mask members.
7 years ago
bunnei
8aa5d25f82
threading: Reschedule only on cores that are necessary.
7 years ago
bunnei
d6e3cd9a17
svc: Implement GetThreadCoreMask and SetThreadCoreMask.
7 years ago
bunnei
6ea8b3ef60
thread: Implement ChangeCore function.
7 years ago
bunnei
1c36f2a798
svc: SignalProcessWideKey should apply to all cores.
7 years ago
bunnei
6a890023e9
svc: Implement GetCurrentProcessorNumber.
7 years ago
bunnei
5c0421ebd8
wait_tree: Show all threads on all schedulers.
7 years ago
bunnei
9bf2a428f9
core: Add a configuration setting for use_multi_core.
7 years ago
bunnei
cba69fdcd4
core: Support session close with multicore.
7 years ago