Commit Graph

12674 Commits (e6f3aad84e91c76568b766f9142fdae52f0f3242)
 

Author SHA1 Message Date
bunnei 88d857499b
Merge pull request from ReinUsesLisp/shfl
shader_ir/warp: Implement SHFL for Nvidia devices
Fernando Sahmkow 433e764bb0 Rasterizer: Correct introduced bug where a conditional render wouldn't stop a draw call from executing
Fernando Sahmkow 4b81d19a1a Shader_IR: Implement ICMP.
David Marcec b54cdeb284 Added frame_count for REV7 audio renderer
Added framecount
David Marcec 0740758b25 disable clang-format temp
Fernando Sahmkow 7761e44d18 Rasterizer: Refactor and simplify DrawBatch Interface.
Fernando Sahmkow d2ea592ddb Rasterizer: Address Feedback and conscerns.
Fernando Sahmkow c17655ce74 Rasterizer: Refactor draw calls, remove deadcode and clean up.
Fernando Sahmkow 7606da5611 VideoCore: Corrections to the MME Inliner and removal of hacky instance management.
Fernando Sahmkow ba02d564f8 Video Core: initial Implementation of InstanceDraw Packaging
David Marcec f9259c0383 Initial implementation of Ioctl2 & Ioctl3
Purpose of Ioctl2 and Ioctl3 is to prevent the passing of raw pointers through ioctls
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.
bunnei b31880dc5e
Merge pull request from ReinUsesLisp/smem
shader_ir: Implement shared memory
ReinUsesLisp 0526bf1895 shader_ir/warp: Implement SHFL
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.
ReinUsesLisp af809b491e gl_rasterizer: Remove unused code paths from ConfigureFramebuffers
Morph 8d778c90e2
When docked mode is checked, uncheck "joycons docked"
Fernando Sahmkow 393cc3ef2f
Merge pull request from ReinUsesLisp/srgb
renderer_opengl: Fix sRGB blits
Fernando Sahmkow b8b1747704
Merge pull request from ReinUsesLisp/mme
Revert "Revert #2466" and stub FirmwareCall 4
Rodrigo Locatti 193bfefce4
maxwell_3d: Update firmware 4 call stub commentary
Fernando Sahmkow daae327e86
Merge pull request from ReinUsesLisp/surface-srgb
video_core/surface: Add function to detect sRGB surfaces
Fernando Sahmkow 18fac59050
Merge pull request from ReinUsesLisp/vk-device
vk_device: Add miscellaneous features and minor style changes
bunnei ddfdeea3af
Merge pull request from DarkLordZach/profile-editor
acc: Implement IProfileEditor interface and 'Store'/'StoreWithImage' commands
bunnei 3cc27e4dda
Merge pull request from ReinUsesLisp/suatom
shader/image: Implement SUATOM and fix SUST
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
ReinUsesLisp 78d078e183 externals: Update Vulkan headers
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.
ReinUsesLisp 6b997c8f7f renderer_opengl: Fix rebase mistake
ReinUsesLisp 36abf67e79 shader/image: Implement SUATOM and fix SUST
Fernando Sahmkow e60d281a01 gl_rasterizer: Correct sRGB Fix regression
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.
bunnei 34b2c60f95
Merge pull request from ReinUsesLisp/shr-clamp
shader/shift: Implement SHR wrapped and clamped variants
bunnei c7ec7bc1f5
Merge pull request from ReinUsesLisp/mme-opt
maxwell_3d: Avoid moving macro_params
Fernando Sahmkow 434d0922dc
Merge pull request from ReinUsesLisp/compute-images
gl_rasterizer: Bind images and samplers to compute
FearlessTobi d36a7a43c5 Address review comments
fearlessTobi 684b616f0d Add frametime logging for tracking performance over time
Co-Authored-By: jroweboy <jroweboy@gmail.com>
David 07a0242535
Merge pull request from VelocityRa/nro-nacp-fix
nro/ui: Show "Developer" field in Properties
David 1487153e06
Merge pull request from lioncash/hle-global
service/am: Remove usages of global system accessors
David 6f7b349461
Merge pull request from lioncash/map-phys
kernel/vm_manager: Minor cleanup
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>
ReinUsesLisp 17a9b0178d gl_shader_decompiler: Avoid writing output attribute when unimplemented
ReinUsesLisp 1f43e5296f gl_shader_decompiler: Keep track of written images and mark them as modified
ReinUsesLisp 7228e22098 texture_cache: Minor changes
ReinUsesLisp 322d0200c8 gl_rasterizer: Apply textures and images state
ReinUsesLisp 80ec2feee8 gl_rasterizer: Add samplers to compute dispatches
ReinUsesLisp 954fc02fdd gl_rasterizer: Minor code changes
ReinUsesLisp 04cdecb7a1 gl_state: Split textures and samplers into two arrays
ReinUsesLisp 6170337001 gl_rasterizer: Implement image bindings
ReinUsesLisp 5edf24b510 gl_state: Add support for glBindImageTextures
ReinUsesLisp 2424eefad2 texture_cache: Pass TIC to texture cache