Morph
8f488c60da
hex_util: Fix incorrect array size in AsArray
Although this isn't used, this is a potential bug as HexStringToArray will perform an out-of-bounds read.
4 years ago
Morph
6db8de93f3
Merge pull request #6816 from lat9nq/fix-mult-contrl
config: Read connected setting for controllers
4 years ago
lat9nq
73acba8ddb
config: Read connected setting for controllers
Currently yuzu will read the mapping but does not connect a controller
despite adding subsequent configurations for it. Read the `connected`
setting for now as a boolean like the Qt frontend.
4 years ago
german77
11d50b5f7a
settings_ui: Use better colors for the light theme
4 years ago
german77
ff46d36f8e
settings_ui: Add emulated joystick position dot to controller preview
4 years ago
Morph
6b2f133eef
common: uuid: Add hex string to UUID constructor
This allows for easily converting a hex string into a Common::UUID, which is backed by a 128 bit unsigned integer.
4 years ago
yzct12345
e13e98d99d
nvdec: Implement VA-API hardware video acceleration ( #6713 )
* nvdec: VA-API
* Verify formatting
* Forgot a semicolon for Windows
* Clarify comment about AV_PIX_FMT_NV12
* Fix assert log spam from missing negation
* vic: Remove forgotten debug code
* Address lioncash's review
* Mention VA-API is Intel/AMD
* Address v1993's review
* Hopefully fix CMakeLists style this time
* vic: Improve cache locality
* vic: Fix off-by-one error
* codec: Async
* codec: Forgot the GetValue()
* nvdec: Address ameerj's review
* codec: Fallback to CPU without VA-API support
* cmake: Address lat9nq's review
* cmake: Make VA-API optional
* vaapi: Multiple GPU
* Apply suggestions from code review
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
* nvdec: Address ameerj's review
* codec: Use anonymous instead of static
* nvdec: Remove enum and fix memory leak
* nvdec: Address ameerj's review
* codec: Remove preparation for threading
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
4 years ago
Morph
b6b9030618
Merge pull request #6805 from lat9nq/fix-user-profiles
config: Only read/write current_user on global config
4 years ago
lat9nq
959f332e99
config: Only read/write current_user on global config
4 years ago
Morph
11d0745880
Merge pull request #6801 from spholz/spholz-patch-1
network: fix ternary operator in Socket::SendTo
4 years ago
spholz
e08a9d00e0
network: fix ternary operator in Socket::SendTo
4 years ago
yzct12345
46e4e6707f
decoders: Optimize swizzle copy performance ( #6790 )
This makes UnswizzleTexture up to two times faster. It is the main bottleneck in NVDEC video decoding.
4 years ago
san
e1d8000de7
yuzu-cmd: hide cursor when in fullscreen
Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
4 years ago
Malte Jürgens
4304984555
game_list: Make game list folder icons smaller ( #6762 )
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
4 years ago
Morph
8a3aeb8cdc
Merge pull request #6793 from Morph1984/lang-fix
service: set: Correct copy amount in GetAvailableLanguageCodes
4 years ago
Morph
11a0033a66
service: set: Correct copy amount in GetAvailableLanguageCodes
4 years ago
Fernando S
e930d1c13b
Merge pull request #6720 from ameerj/vk-screenshot
renderer_vulkan: Implement screenshots
4 years ago
Ameer J
2361a8da8f
Merge pull request #6765 from ReinUsesLisp/y-negate-vk
vk_rasterizer: Flip viewport on Y_NEGATE
4 years ago
Ameer J
3931f05bf1
Merge pull request #6565 from lat9nq/bundle-ffmpeg
cmake, ci: Build bundled FFmpeg with yuzu
4 years ago
ameerj
bfb2325618
astc_decoder: Reduce workgroup size
This reduces the amount of over dispatching when there are odd dimensions (i.e. ASTC 8x5), which rarely evenly divide into 32x32.
4 years ago
ameerj
2ff4eb5def
astc_decoder: Compute offset swizzles in-shader
Alleviates the dependency on the swizzle table and a uniform which is constant for all ASTC texture sizes.
4 years ago
ameerj
59ff9e51f2
astc_decoder: Make use of uvec4 for payload data
5 years ago
ameerj
8f9c7a4ba2
astc_decoder: Simplify Select2DPartition
5 years ago
ameerj
958ede1ed9
astc_decoder: Optimize the use EncodingData
This buffer was a list of EncodingData structures sorted by their bit length, with some duplication from the cpu decoder implementation.
We can take advantage of its sorted property to optimize its usage in the shader.
Thanks to wwylele for the optimization idea.
5 years ago
ameerj
f4409c9db9
astc.h: Move data to cpp implementation
Moves leftover values that are no longer used by the gpu decoder back to the cpp implementation.
5 years ago
Mai M
4b027d3868
Merge pull request #6788 from Morph1984/hle_api_12.1.0
hle: api_version: Update HOS version to 12.1.0
4 years ago
lat9nq
1f81d4415c
settings: Use std::clamp where possible
Addresses PR review
Co-authored-by: PixelyIon <pixelyion@protonmail.com>
4 years ago
Morph
057a4a8a06
hle: api_version: Update HOS version to 12.1.0
Keeps us up to date with reporting the system version.
4 years ago
lat9nq
3314d63af4
settings: Remove unnecessary std::move usages
Addresses review feedback.
Co-authored-by: Mai M. <mathew1800@gmail.com>
4 years ago
bunnei
8177751c0e
Merge pull request #6752 from Morph1984/pt-br
service: ns, set: Add PT_BR (Brazilian Portuguese)
4 years ago
bunnei
1e83edaf6b
Merge pull request #6775 from lat9nq/cmd-remove-global-core
emu_window: Remove global system instance
4 years ago
bunnei
828d9370b2
Merge pull request #6759 from ReinUsesLisp/pipeline-statistics
renderer_vulkan: Add setting to log pipeline statistics
4 years ago
lat9nq
9194f2f342
settings: Fix function virtualization
Fixes a theoretical scenario where a Setting is using the BasicSetting's
GetValue function. In practice this probably only happens on yuzu-cmd,
where there is no need for a Setting's additional features. Need to fix
regardless.
4 years ago
lat9nq
62e78f36c7
settings: Implement setting ranges
Clamps the setting's values against the specified minimum and maximum
values.
4 years ago
bunnei
3adc830cf6
Merge pull request #6770 from Morph1984/swkbd_buffer_size
applet_swkbd: Correct string buffer size calculation
4 years ago
lat9nq
d15ff8a89b
emu_window: Remove global system instance
It was just the one in emu_window_sdl2, but since _gl and _vk inherit
from it, they all needed adjustments.
Leaves just the one auto system& in main().
4 years ago
Morph
ac09092898
applet_swkbd: Correct string buffer size calculation
The buffer size here does not include the initial 8 bytes.
4 years ago
Morph
743b6b53d9
configure_system: Add Brazilian Portuguese to the list of languages
4 years ago
Morph
2359f8283a
service: set: Correct 4.0.0 max_entries to 0x40 (64) instead of 17
4 years ago
Morph
58a79102ae
service: ns, set: Add PT_BR (Brazilian Portuguese)
4 years ago
Morph
bef5d608a9
Merge pull request #6767 from ReinUsesLisp/fold-float-pack
shader: Fold UnpackFloat2x16 and PackFloat2x16
4 years ago
bunnei
9a7c2869d8
Merge pull request #6722 from ReinUsesLisp/xmad-opts
shader: Fold integer FMA from Nvidia's pattern
4 years ago
ReinUsesLisp
ecc05bdcb6
shader: Fold UnpackFloat2x16 and PackFloat2x16
Simplifies the code a bit when possible. These instructions should be
no-ops codegen wise.
4 years ago
Ameer J
f2b7818cf0
Merge pull request #6751 from Morph1984/languagecode
service: ns: Map ZH_TW and ZH_CN to Traditional/Simplified Chinese
4 years ago
bunnei
56a35a0886
Merge pull request #6742 from Morph1984/uuid
common: uuid: Return a lower-case hex string in Format
4 years ago
ReinUsesLisp
2eaec1b7ee
vk_rasterizer: Flip viewport on Y_NEGATE
Matches OpenGL's behavior. I don't believe this register flips geometry,
but we have to try to match behavior on both backends.
4 years ago
ameerj
9629e74364
renderers: Add explicit invert_y bool to screenshot callback
OpenGL and Vulkan images render in different coordinate systems. This allows us to specify the coordinate system of the screenshot within each renderer
4 years ago
ameerj
6733ae9aab
renderer_vulkan: Implement screenshots
4 years ago
ameerj
317f238e1d
vk_blit_screen: Add public CreateFramebuffer method
4 years ago
ameerj
870a92bd78
vk_blit_screen: Make Draw method more generic
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window.
4 years ago