summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-07-27Merge pull request #6749 from lioncash/rtargetbunnei
render_target: Add missing initializer for size extent
2021-07-27Merge pull request #6730 from Morph1984/buf_to_stdstringbunnei
common: fs: fs_util: Add BufferToUTF8String
2021-07-27Merge pull request #6748 from lioncash/engine-initRodrigo Locatti
video_core/engine: Consistently initialize rasterizer pointers
2021-07-27Merge pull request #6744 from lioncash/excRodrigo Locatti
exception: Make constructors explicit
2021-07-27Merge pull request #6745 from lioncash/copiesbunnei
video_core: Remove some unused variables
2021-07-27render_target: Add missing initializer for size extentLioncash
Everything else has a default constructor that does the straightforward thing of initializing most members to a default value, except for the size. We explicitly initialize the size (and others, for consistency), to prevent potential uninitialized reads from occurring. Particularly given the largeish surface area that this struct is used in.
2021-07-27video_core/engine: Consistently initialize rasterizer pointersLioncash
Ensures all of the engines have consistent and deterministic initialization of the rasterizer pointers.
2021-07-27vulkan_wrapper: Fix SetObjectName() always indicating objects as imagesLioncash
We should be using the passed in object type instead.
2021-07-27buffer_cache: Remove unused small_vector in CommitAsyncFlushesHigh()Lioncash
Given this is non-trivial, the constructor is required to execute, so this removes a bit of redundant codegen.
2021-07-27gl_shader_cache: Remove unused variableLioncash
2021-07-27vk_compute_pass: Remove unused capturesLioncash
Resolves two compiler warnings.
2021-07-27exception: Make constructors explicitLioncash
Ensures that exception construction is always explicit.
2021-07-27exception: Make what() member function nodiscardLioncash
2021-07-27exception: Narrow down specific headerLioncash
We can use the <exception> header instead of pulling in all of the exception-style classes.
2021-07-27common: fs: fs_util: Add BufferToUTF8StringMorph
Allows for direct conversion to std::string without having to convert std::u8string to std::string
2021-07-26Merge pull request #6696 from ameerj/speed-limit-renamebunnei
general: Rename "Frame Limit" references to "Speed Limit"
2021-07-26Merge pull request #6741 from ReinUsesLisp/stream-removeRodrigo Locatti
vk_stream_buffer: Remove unused stream buffer
2021-07-26Merge pull request #6740 from K0bin/hvv-fallbackRodrigo Locatti
Handle allocation failure in Staging buffer
2021-07-26vk_staging_buffer_pool: Fall back to host memory when allocation failsRobin Kertels
2021-07-26Merge pull request #6728 from ReinUsesLisp/null-buffer-usageRodrigo Locatti
vk_buffer_cache: Add transform feedback usage to null buffer
2021-07-26Merge pull request #6729 from ReinUsesLisp/quad-indexed-barrierRodrigo Locatti
vk_compute_pass: Fix pipeline barrier for indexed quads
2021-07-26vk_stream_buffer: Remove unused stream bufferReinUsesLisp
Remove unused file.
2021-07-26Merge pull request #6724 from lioncash/nodisc-shaderRodrigo Locatti
shader_recompiler: Remove unnecessary [[nodiscard]] instances
2021-07-26Merge pull request #6726 from lioncash/hguardRodrigo Locatti
emit_spirv_instructions: Add missing header guard
2021-07-26Merge pull request #6727 from lioncash/topologyRodrigo Locatti
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
2021-07-26configure_graphics: reword GLASM optionVamsi Krishna
Change wording to explain that GLASM is actually short for Assembly Shaders
2021-07-26Merge pull request #6723 from lioncash/shaderRodrigo Locatti
object_pool: Add missing return in Chunk move assignment operator
2021-07-26Merge pull request #6725 from lioncash/control-tokenRodrigo Locatti
control_flow: Fix duplicate switch case in OpcodeToken
2021-07-26vk_compute_pass: Fix pipeline barrier for indexed quadsReinUsesLisp
Use an index buffer barrier instead of a vertex input read barrier.
2021-07-26vk_buffer_cache: Add transform feedback usage to null bufferReinUsesLisp
Fixes bad API usages on Vulkan.
2021-07-26emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()Lioncash
This should be LINES_ADJACENCY
2021-07-26emit_spirv_instructions: Add missing header guardLioncash
2021-07-26shader_recompiler: Remove unnecessary [[nodiscard]] instancesLioncash
[[nodiscard]] doesn't do anything on functions with a void return type and causes superfluous warnings.
2021-07-26control_flow: Fix duplicate switch case in OpcodeTokenLioncash
This previously duplicated the case of the PBK case above it.
2021-07-26object_pool: Add missing return in Chunk move assignment operatorLioncash
Prevents undefined behavior from occurring.
2021-07-25Merge pull request #6697 from ameerj/fps-capbunnei
config, nvflinger: Add FPS cap setting
2021-07-25Merge pull request #6575 from FernandoS27/new_settingsbunnei
Settings: Eliminate ASYNC & MULTICORE Toggles and add GPU Accuracy to status bar
2021-07-25Merge pull request #6709 from ameerj/screenshot-pathMorph
main: Fix screenshot filepath construction
2021-07-25Merge pull request #6585 from ameerj/hadesbunnei
Shader Decompiler Rewrite
2021-07-25main: Fix screenshot filepath constructionameerj
The screenshot directory path returned does not have a trailing directory separator character. This caused screenshots to be saved in the parent directory of the configured screenshot directory. This fixes that behavior
2021-07-25Merge pull request #6699 from lat9nq/common-threadsbunnei
common: Publically link to pthreads
2021-07-24Merge pull request #6690 from ReinUsesLisp/dma-clear-fixupsbunnei
buffer_cache: Misc fixups related to buffer clears
2021-07-23renderer_base: Removed redundant settingsameerj
use_framelimiter was not being used internally by the renderers. set_background_color was always set to true as there is no toggle for the renderer background color, instead users directly choose the color of their choice.
2021-07-23general: Rename "Frame Limit" references to "Speed Limit"ameerj
This setting is best referred to as a speed limit, as it involves the limits of all timing based aspects of the emulator, not only framerate. This allows us to differentiate it from the fps unlocker setting.
2021-07-23config, nvflinger: Add FPS cap settingameerj
Allows finer tuning of the FPS limit.
2021-07-23Merge pull request #6551 from bunnei/improve-kernel-objbunnei
Improve management of kernel objects
2021-07-23common: Publically link to pthreadslat9nq
Common requires pthreads but does not refer to it when linking to other modules. Fix this by linking to Threads where necessary.
2021-07-22shader: Support out of bound local memory reads and immediate writesReinUsesLisp
Support ignoring immediate out of bound writes. Writing dynamically out of bounds is not yet supported (e.g. R0+0x4). Reading out of bounds yields zero. This is supported checking for the size from the IR; if the input is immediate, the optimization passes will drop it.
2021-07-22vulkan/blit_image: Commit descriptor sets within worker threadReinUsesLisp
Fixes race condition caused. The descriptor pool is not thread safe, so we have to commit descriptor sets within the same thread.
2021-07-22vulkan_device: Blacklist Volta and older from VK_KHR_push_descriptorReinUsesLisp
Causes crashes on Link's Awakening intro. It's hard to debug if it's our fault due to bugs in validation layers.