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
bunnei
a434fdcb10
core: Implement multicore support.
7 years ago
bunnei
9776ff9179
core: Create a thread for each CPU core, keep in lock-step with a barrier.
7 years ago
bunnei
5590245930
core: Move common CPU core things to its own class.
7 years ago
Hexagon12
5e9c547952
Stubs for QLaunch ( #428 )
...
* Stubs for QLaunch
* Wiped unrelated stuff
* Addressed comment
* Dropped GetPopFromGeneralChannelEvent
7 years ago
Max Thomas
266703b50e
hid: Tweaks, Analog Sticks ( #435 )
...
* hid: Update mouse/keyboard state
* hid: Working analog sticks
* hid: Nits
* hid: Nits
* hid: Update mystery sections
* hid: Tweaks
7 years ago
bunnei
9eccb5de9d
Merge pull request #434 from lioncash/vdtor
...
memory_hook: Default virtual destructor in the cpp file
7 years ago
Lioncash
732a77d0e8
memory_hook: Default virtual destructor in the cpp file
...
Prevents creating multiple copies of the vtable in every translation unit that uses the class.
Also silences a -Wweak-vtables warning
7 years ago
Lioncash
9f3641755e
core_timing: Don't include the log header in core timing's header
...
Avoids propagating logging macros and facilities to files that may not need them.
This also allows hiding an internal constant.
7 years ago
bunnei
1147db9dd1
Merge pull request #431 from lioncash/fmt
...
general: Make formatting of logged hex values more straightforward
7 years ago
bunnei
b1a8e5914b
Merge pull request #430 from lioncash/vec
...
vector_math: Ensure members are always initialized
7 years ago
Lioncash
7c9644646f
general: Make formatting of logged hex values more straightforward
...
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
7 years ago
bunnei
fadab1d5f3
ipc: Add support for PopIpcInterface() method.
...
- This can be used for domain objects as inputs to service functions.
7 years ago
Lioncash
acc10c7ee2
vector_math: Ensure members are always initialized
...
Ensures that values are always in a well-defined state.
7 years ago
bunnei
8262aeeac8
Merge pull request #429 from Subv/ioctl_corruption
...
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
7 years ago
David
ff2f0d980a
GetSharedFontInOrderOfPriority ( #381 )
...
* GetSharedFontInOrderOfPriority
* Update pl_u.cpp
* Ability to use ReadBuffer and WriteBuffer with different buffer indexes, fixed up GetSharedFontInOrderOfPriority
* switched to NGLOG
* Update pl_u.cpp
* Update pl_u.cpp
* language_code is actually language code and not index
* u32->u64
* final cleanups
7 years ago
Subv
0c8b7c00e8
GPU: Don't write to invalid memory locations when handling ioctls that don't have an output.
7 years ago
Lioncash
0197e28cc9
core_timing: Namespace all functions and constants in core_timing's header
...
All of these variables and functions are related to timings and should be within the namespace.
7 years ago
bunnei
81a0082f6b
Merge pull request #424 from lioncash/string
...
string_util: Remove StringFromFormat() and related functions
7 years ago
bunnei
225ff1130f
Merge pull request #422 from bunnei/shader-mov
...
Shader instructions MOV_C, MOV_R, and several minor GPU things
7 years ago
Lioncash
3abba08080
string_util: Remove StringFromFormat() and related functions
...
Given we utilize fmt, we don't need to provide our own functions for formatting anymore
7 years ago
Lioncash
e8bbafb746
file_util: Make move constructor/assignment operator and related functions noexcept
...
Without this, it's possible to get compilation failures in the (rare) scenario where
a container is used to store a bunch of live IOFile instances, as they may be using
std::move_if_noexcept under the hood. Given these definitely don't throw exceptions
this is also not incorrect to add either.
7 years ago
Lioncash
40d2dcabd7
file_util: Add static assertions to ReadBytes() and WriteBytes()
...
Ensure that the actual types being passed in are trivially copyable. The internal
call to ReadArray() and WriteArray() will always succeed, since they're passed a pointer to char*
which is always trivially copyable.
7 years ago
bunnei
f41eb95e13
maxwell_3d: Reset vertex counts after drawing.
7 years ago
bunnei
08b8fcbe6d
gl_shader_decompiler: Implement MOV_R.
7 years ago
bunnei
316327f487
maxwell_to_gl: Implement type SignedNorm, Size_8_8_8_8.
7 years ago
bunnei
c7ce472eeb
shader_bytecode: Add decoding for FMNMX instruction.
7 years ago
Subv
da32c648bf
Shaders: Implemented predicate condition 3 (LessEqual) in the fset and fsetp instructions.
7 years ago
bunnei
a71346cd7c
gl_shader_decompiler: Implement MOV_C.
7 years ago
bunnei
6c464a2a4a
Merge pull request #416 from bunnei/shader-ints-p3
...
gl_shader_decompiler: Implement MOV32I, partially implement I2I, I2F
7 years ago
bunnei
49d92aa661
Merge pull request #417 from bunnei/lang-codes
...
set/am: Fix code for getting language codes
7 years ago
bunnei
334e859ab1
am: Fix GetDesiredLanguage implementation.
7 years ago
bunnei
17b16cf6f6
set: Fix GetAvailableLanguageCodes implementation.
7 years ago
bunnei
f87ea8fa8b
fermi_2d: Fix surface copy block height.
7 years ago
bunnei
0c01c34eff
gl_shader_decompiler: Partially implement I2I_R, and I2F_R.
7 years ago
bunnei
e73927cfc2
gl_shader_decompiler: More cleanups, etc. with how we handle register types.
7 years ago
bunnei
c691fa4074
GLSLRegister: Simplify register declarations, etc.
7 years ago
bunnei
f2dcb39049
shader_bytecode: Add decodings for i2i instructions.
7 years ago
bunnei
a7b5ab4d9a
gl_shader_decompiler: Implement MOV32_IMM instruction.
7 years ago
Lioncash
5d9ee12b1a
file_util: Remove compiler version checks around is_trivially_copyable()
...
The minimum clang/GCC versions we support already support this. We can also
remove is_standard_layout(), as fread and fwrite only require the type to be
trivially copyable.
7 years ago
Lioncash
d43c49264f
log: Remove old logging macros and functions
...
Now that the old macros are no longer used, we can remove all functionality related to them.
7 years ago
bunnei
6b365f7703
Merge pull request #408 from bunnei/shader-ints-p2
...
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
7 years ago
Lioncash
16198f979e
renderer_opengl: Replace usages of LOG_GENERIC with fmt-capable equivalents
7 years ago
Lioncash
843dd62c81
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents
7 years ago
bunnei
e6242ab5e6
gl_shader_decompiler: Add GLSLRegisterManager class to track register state.
7 years ago
Lioncash
8475496630
general: Convert assertion macros over to be fmt-compatible
7 years ago
bunnei
3c40496409
Merge pull request #380 from ogniK5377/service-impl
...
Implemented some useful interfaces needed for games.
7 years ago
David Marcec
abc23416e8
Switched to NGLOG_WARNING
7 years ago
bunnei
4f120a9ec0
Merge pull request #406 from lioncash/frontend
...
frontends: Move logging macros over to new fmt-capable ones
7 years ago
bunnei
18f8012233
Merge pull request #407 from lioncash/common
...
common: Move logging macros over to new fmt-capable macros where applicable
7 years ago
Lioncash
3cfe77ae75
common: Move logging macros over to new fmt-capable macros where applicable
7 years ago
Lioncash
3062eb52f4
frontends: Move logging macros over to new fmt-capable ones
7 years ago
Lioncash
376f6397c6
input_common: Move old logging macros over to fmt-capable ones
7 years ago
bunnei
6a3d59fdc1
Merge pull request #402 from lioncash/core
...
core: Replace remaining old non-generic logger usages with fmt-capable equivalents
7 years ago
bunnei
bc43946140
Merge pull request #399 from bunnei/shader-ints
...
Shader decompiler prep for integer instructions
7 years ago
David Marcec
7391741a20
Merge branch 'master' of https://github.com/yuzu-emu/yuzu into service-impl
7 years ago
David Marcec
f1f7f2cba9
Added PREPO to logging backend, Removed comments from SaveReportWithUser
7 years ago
Lioncash
c33755e2b9
core: Replace remaining old non-generic logger usages with fmt-capable equivalents
...
LOG_GENERIC usages will be amended in a follow-up to keep API changes separate from
interface changes, as it will require removing a parameter from the relevant function
in the VMManager class.
7 years ago
Lioncash
87a92ef062
common: Remove chunk_file.h and linear_disk_cache.h
...
These are unused (and given chunk_file references Dolphin's >SVN< I doubt they were going to be used).
7 years ago
bunnei
c9d7abe9c9
gl_shader_decompiler: Boilerplate for handling integer instructions.
7 years ago
bunnei
37fa9a15cd
gl_shader_decompiler: Move color output to EXIT instruction.
7 years ago
Lioncash
623d772476
core/gdbstub: Move logging macros to new fmt-compatible ones
7 years ago
Lioncash
08da0b7acc
core/hw: Move logging macros over to fmt-capable ones
7 years ago
bunnei
f81b915fd8
Merge pull request #396 from Subv/shader_ops
...
Shaders: Implemented the FSET instruction.
7 years ago
bunnei
dd6c67c627
Merge pull request #398 from lioncash/kernel
...
kernel: Migrate logging macros to fmt-compatible ones
7 years ago
bunnei
42d43ea741
Merge pull request #387 from Subv/maxwell_2d
...
GPU: Partially implemented the 2D surface copy engine
7 years ago
bunnei
d0825c9519
Merge pull request #395 from lioncash/file-sys
...
file-sys: Move logging macros over to the new fmt-capable ones
7 years ago
Lioncash
1913cf4783
kernel/shared_memory: Remove unnecessary semicolon at end of ConvertPermissions()
...
Functions don't need to be terminated by semicolons.
7 years ago
Lioncash
40dee76c57
kernel: Migrate logging macros to fmt-compatible ones
7 years ago
bunnei
23d68a07dc
Merge pull request #390 from mailwl/pctl-module
...
Service/PCTL: convert to module, add services, stub
7 years ago
bunnei
60746e4e52
Merge pull request #397 from lioncash/core
...
core/memory: Move logging macros over to the new fmt-capable ones
7 years ago
Subv
20d86d8a36
GPU: Partially implemented the Fermi2D surface copy operation.
...
The hardware allows for some rather complicated operations to be performed on the data during the copy, this is not implemented.
Only same-format same-size raw copies are implemented for now.
7 years ago
Subv
e9ad8e9185
Shaders: Added bit decodings for the I2I instruction.
7 years ago
Subv
1740aa5444
Shaders: Implemented the FSET instruction.
...
This instruction is similar to the FSETP instruction, but it doesn't set a predicate, it sets the destination register to 1.0 if the condition holds, and 0 otherwise.
7 years ago
Subv
5ab597041f
Memory: Added a missing shortcut for Memory::CopyBlock for the current process.
7 years ago
Subv
1dd4861d38
GPU: Make the Textures::CopySwizzledData function accessible from the outside of the file.
7 years ago
Subv
a6da2b93c1
GPU: Added a function to retrieve the bytes per pixel of the render target formats.
7 years ago
Subv
378c881427
GPU: Added surface copy registers to Fermi2D
7 years ago
Subv
b1109931b9
GPU: Added boilerplate code for the Fermi2D engine
7 years ago
Subv
c16cfbbc6c
GPU: Reduce the number of registers of Maxwell3D to 0xE00.
...
The rest are just macro shim registers.
7 years ago
Subv
a994446b6e
GPU: Move the Maxwell3D macro uploading code to the inside of the Maxwell3D processor.
...
It doesn't belong in the PFIFO handler.
7 years ago
Subv
e2f2a49d2d
GPU: Corrected the upper bound of the PFIFO method ids in the command processor.
7 years ago
Lioncash
3f78a61f09
file-sys: convert a StringFromFormat call into fmt::format in GetFullPath()
...
Lessens the amount to read and gets rid of the PRIX64 macro, allowing us to use a single string
for the whole path, making it easier to read.
7 years ago
Lioncash
5aafc83cc9
file-sys: Move logging macros over to the new fmt-capable ones
7 years ago
Lioncash
6d00780045
core/memory: Amend address widths in asserts
...
Addresses are 64-bit, these formatting specifiers are simply holdovers from citra. Adjust them to be the correct width.
7 years ago
Lioncash
59dae03dbe
core/memory: Move logging macros over to new fmt-capable ones
...
While we're at it, correct addresses to print all 64 bits where applicable, which were holdovers from citra.
7 years ago
Lioncash
b7551e457b
video-core: Move logging macros over to new fmt-capable ones
7 years ago
mailwl
2ba4e2263c
Service/PCTL: convert to module, add services, stub
...
PCTL::CreateServiceWithoutInitialize and IParentalControlService::Initialize, required by Kirby Star Allies
7 years ago
Subv
0369ee7248
Shaders: Added decodings for the FSET instructions.
7 years ago
bunnei
ea3151f475
Merge pull request #388 from bunnei/refactor-rasterizer-cache
...
Refactor rasterizer cache
7 years ago
bunnei
c30cd898fc
renderer_opengl: Use correct byte order for framebuffer pixel format ABGR8.
7 years ago
bunnei
f1a4a004fb
gl_rasterizer_cache: Use CHAR_BIT for bpp conversions instead of 8.
7 years ago
bunnei
0a023cfb4f
gl_rasterizer_cache: Use GPU PAGE_BITS/SIZE, not CPU.
7 years ago
bunnei
9022d926eb
gl_rasterizer_cache: Use new logger.
7 years ago
bunnei
fbb3cd110c
gl_rasterizer_cache: Add a function for finding framebuffer GPU address.
7 years ago
bunnei
bc0f1896fc
gl_rasterizer_cache: Handle compressed texture sizes.
7 years ago
bunnei
4415e00181
gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses.
7 years ago
Lioncash
cc2e14ec2a
loader: Move old logging macros over to new fmt-capable ones
7 years ago
bunnei
10c6d89119
memory_manager: Add implement CpuToGpuAddress.
7 years ago
bunnei
239ac8abe2
memory_manager: Make GpuToCpuAddress return an optional.
7 years ago
bunnei
9e11a76e92
memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses.
7 years ago