Zach Hilman
02b36b0eb5
sdmc_factory: Add accessor for content directory
7 years ago
Zach Hilman
49c44e3fae
savedata_factory: Implement savedata creation and don't create dir on open
Matches hardware behavior and eliminates some nasty behavior we were doing that wasn't hw-accurate at all.
7 years ago
Zach Hilman
62d772eaed
patch_manager: Add short-circuit edge-case to GetPatchVersionNames
If title ID is 0, there are no add ons, prevents wasting time looking for them.
7 years ago
Zach Hilman
06db4d94fd
patch_manager: Add error checking to load dir to prevent crashes
Prevents a crash if the load dir would be nullptr, instead logs an error and returns appropriately.
7 years ago
Zach Hilman
9d9fc8a675
registered_cache: Process *.cnmt.nca files
Needed to use the RegisteredCache/PlaceholderCache on gamecards.
7 years ago
Zach Hilman
8500ca797f
registered_cache: Implement PlaceholderCache to manage placeholder and installing content
7 years ago
Zach Hilman
256a50ad15
bis_factory: Fix mod loader edge-case with homebrew title IDs
Fixes a bug where homebrew that has a title ID with the update bit set can cause issues with the PatchManager
7 years ago
Zach Hilman
b71bda45ae
bis_factory: Add accessors for BIS placeholder caches
7 years ago
Zach Hilman
9bee885282
bis_factory: Add accessor for NAND Image Directory
7 years ago
Zach Hilman
4dae5a52a8
bis_factory: Add accessors for BIS content directories
7 years ago
Zach Hilman
3a1899d143
bis_factory: Add accessors for BIS partitions
7 years ago
ReinUsesLisp
44000971e2
gl_shader_decompiler: Use uint for images and fix SUATOM
In the process remove implementation of SUATOM.MIN and SUATOM.MAX as
these require a distinction between U32 and S32. These have to be
implemented with imageCompSwap loop.
6 years ago
ReinUsesLisp
675f23aedc
shader/image: Implement SULD and remove irrelevant code
* Implement SULD as float.
* Remove conditional declaration of GL_ARB_shader_viewport_layer_array.
6 years ago
ReinUsesLisp
4de0f1e1c8
shader_bytecode: Add SULD encoding
6 years ago
Fernando Sahmkow
527b841c15
Shader_IR: ICMP corrections and fixes
6 years ago
pbarilla
8fd266a7c4
Added Host CPU and OS to log
6 years ago
David Marcec
b4db662053
Swapped TID and Game name to make it easier to parse
6 years ago
David Marcec
934ce530f6
Log the current title id and game name which is booting
Spit out a LOG_INFO of the current game name and it's title id in the log. This helps to read log files and figure out which games have which issues
6 years ago
David Marcec
e9d19add7d
Used revision 5 instead of 7, marked constexpr as static
6 years ago
David Marcec
01a4afee42
Mark DrawArrays as LOG_TRACE
There's no reason to clog logs with DrawArray.
6 years ago
David Marcec
c2f966dbc1
Mark KickOffPb & SubmitGPFIFO as trace
These functions are not stubbed and are called fairly often. Due to the nature of how often they're called, we should keep them marked as LOG_TRACE instead of LOG_DEBUG or LOG_WARNING
6 years ago
Fernando Sahmkow
433e764bb0
Rasterizer: Correct introduced bug where a conditional render wouldn't stop a draw call from executing
6 years ago
Fernando Sahmkow
4b81d19a1a
Shader_IR: Implement ICMP.
6 years ago
David Marcec
b54cdeb284
Added frame_count for REV7 audio renderer
Added framecount
6 years ago
David Marcec
0740758b25
disable clang-format temp
6 years ago
Fernando Sahmkow
7761e44d18
Rasterizer: Refactor and simplify DrawBatch Interface.
6 years ago
Fernando Sahmkow
d2ea592ddb
Rasterizer: Address Feedback and conscerns.
6 years ago
Fernando Sahmkow
c17655ce74
Rasterizer: Refactor draw calls, remove deadcode and clean up.
6 years ago
Fernando Sahmkow
7606da5611
VideoCore: Corrections to the MME Inliner and removal of hacky instance management.
6 years ago
Fernando Sahmkow
ba02d564f8
Video Core: initial Implementation of InstanceDraw Packaging
6 years ago
David Marcec
f9259c0383
Initial implementation of Ioctl2 & Ioctl3
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls
6 years ago
Fernando Sahmkow
50259d7bdc
Core/Memory: Only FlushAndInvalidate GPU if the page is marked as RasterizerCachedMemory
This commit avoids Invalidating and Flushing the GPU if the page is not
marked as a RasterizerCache Page.
6 years ago
ReinUsesLisp
0526bf1895
shader_ir/warp: Implement SHFL
6 years ago
ReinUsesLisp
2dd6411753
maxwell_to_gl: Fix mipmap filtering
OpenGL texture filters follow GL_<texture_filter>_MIPMAP_<mipmap_filter>
but we were using them in the opposite way.
6 years ago
ReinUsesLisp
af809b491e
gl_rasterizer: Remove unused code paths from ConfigureFramebuffers
6 years ago
Morph
8d778c90e2
When docked mode is checked, uncheck "joycons docked"
6 years ago
Rodrigo Locatti
193bfefce4
maxwell_3d: Update firmware 4 call stub commentary
6 years ago
ReinUsesLisp
01d96e1136
vk_device: Add miscellaneous features and minor style changes
* Increase minimum Vulkan requirements
* Require VK_EXT_vertex_attribute_divisor
* Require depthClamp, samplerAnisotropy and largePoints features
* Search and expose VK_KHR_uniform_buffer_standard_layout
* Search and expose VK_EXT_index_type_uint8
* Search and expose native float16 arithmetics
* Track current driver with VK_KHR_driver_properties
* Query and expose SSBO alignment
* Query more image formats
* Improve logging overall
* Minor style changes
* Minor rephrasing of commentaries
6 years ago
ReinUsesLisp
99e23bd0fd
video_core/surface: Add function to detect sRGB surfaces
This is required for proper conversion to RGBA8_UNORM or RGBA8_SRGB
surfaces when a backend can target both native and converted ASTC.
6 years ago
ReinUsesLisp
6b997c8f7f
renderer_opengl: Fix rebase mistake
6 years ago
ReinUsesLisp
36abf67e79
shader/image: Implement SUATOM and fix SUST
7 years ago
Fernando Sahmkow
e60d281a01
gl_rasterizer: Correct sRGB Fix regression
6 years ago
ReinUsesLisp
78574746bd
renderer_opengl: Fix sRGB blits
Removes the sRGB hack of tracking if a frame used an sRGB rendertarget
to apply at least once to blit the final texture as sRGB. Instead of
doing this apply sRGB if the presented image has sRGB.
Also enable sRGB by default on Maxwell3D registers as some games seem to
assume this.
6 years ago
FearlessTobi
d36a7a43c5
Address review comments
6 years ago
fearlessTobi
684b616f0d
Add frametime logging for tracking performance over time
Co-Authored-By: jroweboy <jroweboy@gmail.com>
6 years ago
Nick Renieris
bfc5bacecd
nro: Implement ReadControlData
With this, the "Developer" field in the Properties for homebrew is now populated.
Signed-off-by: Nick Renieris <velocityra@gmail.com>
6 years ago
ReinUsesLisp
17a9b0178d
gl_shader_decompiler: Avoid writing output attribute when unimplemented
6 years ago
ReinUsesLisp
1f43e5296f
gl_shader_decompiler: Keep track of written images and mark them as modified
6 years ago
ReinUsesLisp
7228e22098
texture_cache: Minor changes
6 years ago
ReinUsesLisp
322d0200c8
gl_rasterizer: Apply textures and images state
7 years ago