Lioncash
00e100de08
render_target: Add missing initializer for size extent
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.
5 years ago
Lioncash
f8964dd89a
video_core/engine: Consistently initialize rasterizer pointers
Ensures all of the engines have consistent and deterministic
initialization of the rasterizer pointers.
5 years ago
Lioncash
8c82c594f0
vulkan_wrapper: Fix SetObjectName() always indicating objects as images
We should be using the passed in object type instead.
5 years ago
Lioncash
ec56a17acd
buffer_cache: Remove unused small_vector in CommitAsyncFlushesHigh()
Given this is non-trivial, the constructor is required to execute, so
this removes a bit of redundant codegen.
5 years ago
Lioncash
075a744e38
gl_shader_cache: Remove unused variable
5 years ago
Lioncash
296728ec46
vk_compute_pass: Remove unused captures
Resolves two compiler warnings.
5 years ago
Lioncash
c27ddb44de
exception: Make constructors explicit
Ensures that exception construction is always explicit.
5 years ago
Lioncash
e490ddf327
exception: Make what() member function nodiscard
5 years ago
Lioncash
90f3678ada
exception: Narrow down specific header
We can use the <exception> header instead of pulling in all of the
exception-style classes.
5 years ago
Morph
f5f04cce01
common: fs: fs_util: Add BufferToUTF8String
Allows for direct conversion to std::string without having to convert std::u8string to std::string
5 years ago
Morph
b9b48aee7d
common: uuid: Return a lower-case hex string in Format
5 years ago
bunnei
d6c799494c
Merge pull request #6696 from ameerj/speed-limit-rename
general: Rename "Frame Limit" references to "Speed Limit"
5 years ago
Rodrigo Locatti
7511f65e31
Merge pull request #6741 from ReinUsesLisp/stream-remove
vk_stream_buffer: Remove unused stream buffer
5 years ago
Rodrigo Locatti
1a94b3f452
Merge pull request #6740 from K0bin/hvv-fallback
Handle allocation failure in Staging buffer
5 years ago
Robin Kertels
75050c788c
vk_staging_buffer_pool: Fall back to host memory when allocation fails
5 years ago
Rodrigo Locatti
c6991fa900
Merge pull request #6728 from ReinUsesLisp/null-buffer-usage
vk_buffer_cache: Add transform feedback usage to null buffer
5 years ago
Rodrigo Locatti
6c432d5349
Merge pull request #6729 from ReinUsesLisp/quad-indexed-barrier
vk_compute_pass: Fix pipeline barrier for indexed quads
5 years ago
ReinUsesLisp
5f9a4817a5
vk_stream_buffer: Remove unused stream buffer
Remove unused file.
5 years ago
Rodrigo Locatti
c0f99558fb
Merge pull request #6724 from lioncash/nodisc-shader
shader_recompiler: Remove unnecessary [[nodiscard]] instances
5 years ago
Rodrigo Locatti
de0b89792c
Merge pull request #6726 from lioncash/hguard
emit_spirv_instructions: Add missing header guard
5 years ago
Rodrigo Locatti
3d97f1e6cf
Merge pull request #6727 from lioncash/topology
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
5 years ago
bunnei
7490117fa4
Merge pull request #6736 from CaptV0rt3x/patch-1
Config-graphics: reword GLASM option
5 years ago
Vamsi Krishna
c05bbf375d
configure_graphics: reword GLASM option
Change wording to explain that GLASM is actually short for Assembly Shaders
5 years ago
Rodrigo Locatti
b2b3fcdccd
Merge pull request #6723 from lioncash/shader
object_pool: Add missing return in Chunk move assignment operator
5 years ago
Rodrigo Locatti
4afc2de129
Merge pull request #6725 from lioncash/control-token
control_flow: Fix duplicate switch case in OpcodeToken
5 years ago
ReinUsesLisp
771dcb2a56
vk_compute_pass: Fix pipeline barrier for indexed quads
Use an index buffer barrier instead of a vertex input read barrier.
5 years ago
ReinUsesLisp
27ed6e7c2b
vk_buffer_cache: Add transform feedback usage to null buffer
Fixes bad API usages on Vulkan.
5 years ago
Lioncash
3e7813e49d
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
This should be LINES_ADJACENCY
5 years ago
Lioncash
c2915d9f2f
emit_spirv_instructions: Add missing header guard
5 years ago
Lioncash
06ca911621
shader_recompiler: Remove unnecessary [[nodiscard]] instances
[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
5 years ago
Lioncash
0b67df1f7c
control_flow: Fix duplicate switch case in OpcodeToken
This previously duplicated the case of the PBK case above it.
5 years ago
Lioncash
89ad9df0e9
object_pool: Add missing return in Chunk move assignment operator
Prevents undefined behavior from occurring.
5 years ago
ReinUsesLisp
66a0cedba3
shader: Fold integer FMA from Nvidia's pattern
Fold shaders doing "a * b + c" on integers from the pattern generated by
Nvidia's GL compiler.
On a somewhat complex compute shader it reduces the code size by 16
instructions from 2 matches on Turing GPUs.
On Intel as extracted from KHR_pipeline_executable_properties:
Before the optimization:
```
Instruction Count: 2057
Basic Block Count: 45
Scratch Memory Size: 14752
Spill Count: 232
Fill Count: 261
SEND Count: 610
Cycle Count: 11325
```
After the optimization:
```
Instruction Count: 2046
Basic Block Count: 44
Scratch Memory Size: 13728
Spill Count: 219
Fill Count: 268
SEND Count: 604
Cycle Count: 11367
```
5 years ago
ReinUsesLisp
09fb41dc63
shader: Use TryInstRecursive on XMAD multiply folding
Simplify a bit the logic.
5 years ago
ReinUsesLisp
f6f0383b49
shader: Add TryInstRecursive utility to values
5 years ago
bunnei
c09557acd8
Merge pull request #6697 from ameerj/fps-cap
config, nvflinger: Add FPS cap setting
5 years ago
lat9nq
09d6cc9943
Merge branch 'master' into fullscreen-enum
5 years ago
bunnei
7e272d3cd8
Merge pull request #6575 from FernandoS27/new_settings
Settings: Eliminate ASYNC & MULTICORE Toggles and add GPU Accuracy to status bar
5 years ago
Morph
b5c3cb8763
Merge pull request #6709 from ameerj/screenshot-path
main: Fix screenshot filepath construction
5 years ago
bunnei
98b26b6e12
Merge pull request #6585 from ameerj/hades
Shader Decompiler Rewrite
5 years ago
ameerj
9dd35b7b66
main: Fix screenshot filepath construction
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
5 years ago
bunnei
c2aaf51370
Merge pull request #6699 from lat9nq/common-threads
common: Publically link to pthreads
5 years ago
Fernando S
e7c30f33fe
Merge pull request #6706 from FernandoS27/skyline-love-letter
Grant a partial license exception to Skyline Emulator.
5 years ago
Fernando Sahmkow
e6a0ca5f2c
Grant a license exception to Skyline Emulator.
5 years ago
bunnei
84b9c42642
Merge pull request #6690 from ReinUsesLisp/dma-clear-fixups
buffer_cache: Misc fixups related to buffer clears
5 years ago
ameerj
c80ae87b4e
renderer_base: Removed redundant settings
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.
5 years ago
ameerj
9dfbc9bdce
general: Rename "Frame Limit" references to "Speed Limit"
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.
5 years ago
ameerj
2c6e274b39
config, nvflinger: Add FPS cap setting
Allows finer tuning of the FPS limit.
5 years ago
bunnei
2656020608
Merge pull request #6551 from bunnei/improve-kernel-obj
Improve management of kernel objects
5 years ago
lat9nq
d8b00fd863
configuration: Use combobox apply template where possible
We don't need to manually apply this setting now that a template can do
this for us.
5 years ago