Lioncash
2fa5f631c3
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.
4 years ago
bunnei
08350d1744
Merge pull request #6696 from ameerj/speed-limit-rename
general: Rename "Frame Limit" references to "Speed Limit"
4 years ago
Rodrigo Locatti
c1fc22249a
Merge pull request #6741 from ReinUsesLisp/stream-remove
vk_stream_buffer: Remove unused stream buffer
4 years ago
Rodrigo Locatti
162759edf2
Merge pull request #6740 from K0bin/hvv-fallback
Handle allocation failure in Staging buffer
4 years ago
Robin Kertels
534c86587b
vk_staging_buffer_pool: Fall back to host memory when allocation fails
4 years ago
Rodrigo Locatti
71077365ac
Merge pull request #6728 from ReinUsesLisp/null-buffer-usage
vk_buffer_cache: Add transform feedback usage to null buffer
4 years ago
Rodrigo Locatti
2fffe98e5c
Merge pull request #6729 from ReinUsesLisp/quad-indexed-barrier
vk_compute_pass: Fix pipeline barrier for indexed quads
4 years ago
ReinUsesLisp
5afcd587e3
vk_stream_buffer: Remove unused stream buffer
Remove unused file.
4 years ago
Rodrigo Locatti
4d2a527006
Merge pull request #6724 from lioncash/nodisc-shader
shader_recompiler: Remove unnecessary [[nodiscard]] instances
4 years ago
Rodrigo Locatti
d424762d2c
Merge pull request #6726 from lioncash/hguard
emit_spirv_instructions: Add missing header guard
4 years ago
Rodrigo Locatti
b894ae1bd3
Merge pull request #6727 from lioncash/topology
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
4 years ago
bunnei
6dddd564a5
Merge pull request #6736 from CaptV0rt3x/patch-1
Config-graphics: reword GLASM option
4 years ago
Vamsi Krishna
713f960ce3
configure_graphics: reword GLASM option
Change wording to explain that GLASM is actually short for Assembly Shaders
4 years ago
Rodrigo Locatti
0da5a7170b
Merge pull request #6723 from lioncash/shader
object_pool: Add missing return in Chunk move assignment operator
4 years ago
Rodrigo Locatti
1afb7b75cd
Merge pull request #6725 from lioncash/control-token
control_flow: Fix duplicate switch case in OpcodeToken
4 years ago
ReinUsesLisp
8d86e9a9d7
vk_compute_pass: Fix pipeline barrier for indexed quads
Use an index buffer barrier instead of a vertex input read barrier.
4 years ago
ReinUsesLisp
b53503b0fe
vk_buffer_cache: Add transform feedback usage to null buffer
Fixes bad API usages on Vulkan.
4 years ago
Lioncash
00bd622334
emit_glasm: Fix LINESS_ADJACENCY typo in InputPrimitive()
This should be LINES_ADJACENCY
4 years ago
Lioncash
0692818106
emit_spirv_instructions: Add missing header guard
4 years ago
Lioncash
05201f4f88
shader_recompiler: Remove unnecessary [[nodiscard]] instances
[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
4 years ago
Lioncash
9d5aa3d65a
control_flow: Fix duplicate switch case in OpcodeToken
This previously duplicated the case of the PBK case above it.
4 years ago
Lioncash
23da07e8e5
object_pool: Add missing return in Chunk move assignment operator
Prevents undefined behavior from occurring.
4 years ago
bunnei
eee75fe604
Merge pull request #6697 from ameerj/fps-cap
config, nvflinger: Add FPS cap setting
4 years ago
bunnei
4827595bb1
Merge pull request #6575 from FernandoS27/new_settings
Settings: Eliminate ASYNC & MULTICORE Toggles and add GPU Accuracy to status bar
4 years ago
Morph
fc99dce96e
Merge pull request #6709 from ameerj/screenshot-path
main: Fix screenshot filepath construction
4 years ago
bunnei
0a328423e8
Merge pull request #6585 from ameerj/hades
Shader Decompiler Rewrite
4 years ago
ameerj
01b566101b
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
4 years ago
bunnei
1c2599a130
Merge pull request #6699 from lat9nq/common-threads
common: Publically link to pthreads
4 years ago
Fernando S
15533d8d8d
Merge pull request #6706 from FernandoS27/skyline-love-letter
Grant a partial license exception to Skyline Emulator.
4 years ago
Fernando Sahmkow
bf39259ef7
Grant a license exception to Skyline Emulator.
4 years ago
bunnei
c47035538f
Merge pull request #6690 from ReinUsesLisp/dma-clear-fixups
buffer_cache: Misc fixups related to buffer clears
4 years ago
ameerj
2fef43b32a
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.
4 years ago
ameerj
aeff61a0cc
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.
4 years ago
ameerj
8c0d6af843
config, nvflinger: Add FPS cap setting
Allows finer tuning of the FPS limit.
4 years ago
bunnei
3cc092849c
Merge pull request #6551 from bunnei/improve-kernel-obj
Improve management of kernel objects
4 years ago
lat9nq
0ea70212af
common: Publically link to pthreads
Common requires pthreads but does not refer to it when linking to other
modules. Fix this by linking to Threads where necessary.
4 years ago
ReinUsesLisp
ba89444667
shader: Support out of bound local memory reads and immediate writes
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.
4 years ago
ReinUsesLisp
7efec6bce4
vulkan/blit_image: Commit descriptor sets within worker thread
Fixes race condition caused. The descriptor pool is not thread safe, so
we have to commit descriptor sets within the same thread.
4 years ago
ReinUsesLisp
6c7f6e1228
vulkan_device: Blacklist Volta and older from VK_KHR_push_descriptor
Causes crashes on Link's Awakening intro. It's hard to debug if it's our
fault due to bugs in validation layers.
4 years ago
ReinUsesLisp
67209b8d43
cmake: Remove unused code in GenerateSCMRev.cmake
Remove shader code hash generation code as it's no longer used.
4 years ago
ReinUsesLisp
4ae6c023df
qt: Remove "experimental" from asynchronous shader building UI
4 years ago
ReinUsesLisp
c29f2c9507
Revert "renderers: Disable async shader compilation"
This reverts commit 4a15276728 .
4 years ago
ReinUsesLisp
8a74a2c895
opengl: Fix asynchronous shaders
Wait for shader to build before configuring it, and wait for the shader
to build before sharing it with other contexts.
4 years ago
ReinUsesLisp
a97c0ccabd
shader_environment: Receive cache version from outside
This allows us invalidating OpenGL and Vulkan separately in the future.
5 years ago
ReinUsesLisp
2e6acac647
cmake: Remove shader cache version
5 years ago
ameerj
3927809a63
shader: Fix disabled attribute default values
5 years ago
ameerj
a7fe20e636
gl_device: Simplify GLASM setting logic
5 years ago
ameerj
e6d3a301f2
glsl: Simplify FCMP emission
5 years ago
ameerj
4f3e869dd0
glsl: Update TessellationControl gl_in
Adheres to GL_ARB_separate_shader_objects requirements
5 years ago
ReinUsesLisp
4f84ef1f2b
renderer_opengl: Use ARB_separate_shader_objects
Ensures that states set for a particular stage are not attached to other
stages which may not need them.
5 years ago