Commit graph

26420 commits

Author SHA1 Message Date
taylor
6f6cdd206b [Android] Add support for true analog triggers.
This only works if GCPadNew.ini and Dolphin.ini files are not already in the dolphin config folder. Any advice would be helpful. I'd really like to tackle the UI and wiring for deadzones, radius, etc.
2017-12-06 16:46:10 -08:00
Stenzek
9d246800c2
Merge pull request #6227 from degasus/efb2tex_copies
VideoCommon: Drop now unused efb2tex matrix generation.
2017-12-06 19:52:31 +10:00
degasus
02dd062518 VideoCommon: Drop now unused efb2tex matrix generation. 2017-12-06 09:30:03 +01:00
Markus Wick
cde02b5b5f
Merge pull request #6239 from stenzek/d3d-videocommon-efbtotex
D3D: Use VideoCommon EFB-to-Texture Shaders
2017-12-06 09:28:52 +01:00
Stenzek
d0601c0a83 TextureConversionShader: Use round() instead of roundEven() in HLSL
HLSL does not define roundEven(), only round(). This means that the
output may differ slightly for OpenGL vs Direct3D. However, it ensures
consistency across OpenGL drivers, as round() in GLSL can go either way.
2017-12-06 03:33:50 +10:00
Stenzek
e0ffce2785 D3D: Use VideoCommon EFB-to-texture shaders 2017-12-06 03:33:50 +10:00
Stenzek
beb35320f6 TextureConverterShaderGen: Make generated shaders HLSL-compatible 2017-12-06 03:33:50 +10:00
Leo Lam
08da19fc87
Merge pull request #6217 from ligfx/qtfifofix
FIFOPlayerWindow: don't reset frame/object limit every frame
2017-12-04 12:05:33 +01:00
Leo Lam
d1ef62cc5a
Merge pull request #6238 from lioncash/shader-str
DolphinWX/Main: Fix shader compilation dialog translations
2017-12-04 12:03:25 +01:00
Lioncash
ed2be3b8e3 DolphinWX/Main: Fix shader compilation dialog translations
Fixes issue 10685
2017-12-04 04:33:49 -05:00
Markus Wick
30b5cbcb02
Merge pull request #6235 from lioncash/reorder
WiiSaveBanner: Resolve a -Wreorder warning
2017-12-04 08:52:42 +01:00
Markus Wick
0e8c883b24
Merge pull request #6236 from lioncash/missing-decl
OGL/TextureConverter: Resolve -Wmissing-variable-declaration warnings
2017-12-04 08:52:04 +01:00
Lioncash
050440fd5b OGL/TextureConverter: Remove unnecessary using declaration 2017-12-03 18:51:22 -05:00
Lioncash
93e85f9a7c OGL/TextureConverter: Resolve -Wmissing-variable-declaration warnings 2017-12-03 18:51:17 -05:00
Lioncash
666af4605e WiiSaveBanner: Resolve a -Wreorder warning 2017-12-03 18:34:49 -05:00
Markus Wick
8bcc392d5d
Merge pull request #5887 from linkmauve/alpha-fix
Simplify EFB copy shaders
2017-12-03 11:21:08 +01:00
JosJuice
f68956a614
Merge pull request #6232 from lioncash/d3d-vert-mgr
D3D/VertexManager: Add missing includes
2017-12-03 09:24:23 +01:00
Stenzek
0c480a7777
Merge pull request #6233 from lioncash/vulkan-texture
VKTexture: Remove unimplemented ScaleRectangleFromTexture() prototype
2017-12-03 11:32:36 +10:00
Lioncash
6ca85dbf0a VKTexture: Add missing override specifier to the other ScaleRectangeFromTexture() prototype 2017-12-02 20:20:13 -05:00
Lioncash
c7bc16811c VKTexture: Remove unimplemented ScaleRectangleFromTexture() prototype 2017-12-02 20:15:32 -05:00
Lioncash
b0fadbb5de D3D/VertexManager: Add missing includes
Gets rid of reliance on indirect includes
2017-12-02 20:09:33 -05:00
Markus Wick
4c48cc6757
Merge pull request #6230 from leoetlino/warning-fixes
Small warning fixes
2017-12-02 22:16:21 +01:00
Léo Lam
d95177526f VideoBackends: Fix -Wswitch warnings 2017-12-02 21:52:07 +01:00
Léo Lam
67ba326ff6 VideoCommon: Fix -Wformat warnings 2017-12-02 21:48:01 +01:00
Emmanuel Gil Peyrot
85bb1d7bb0 VideoCommon: Reimplement texture format conversion
This fixes the rendering of the scan visor in Metroid Prime 2: Echoes,
as seen in https://fifoci.dolphin-emu.org/dff/mp2-scanner/

The alpha channel was off-by-one on Ivy Bridge due to the rounding
after multiplication with colmat.  This commit removes this matrix
altogether in most cases, making them simple GLSL swizzles.
2017-12-02 19:29:01 +01:00
Anthony
d71f4168e9
Merge pull request #6229 from JosJuice/clarify-keys-dump
Clarify the "Select the OTP/SEEPROM dump" message
2017-12-02 09:49:22 -08:00
Anthony
c48ccdb1cd
Merge pull request #6228 from JosJuice/usb-keyboard-background-input
Make USB keyboard input respect the background input setting
2017-12-02 09:48:42 -08:00
JosJuice
c4db59e7b6 Clarify the "Select the OTP/SEEPROM dump" message
Most users don't know what OTP/SEEPROM means.
2017-12-02 18:23:38 +01:00
JosJuice
05879875f6 Make USB keyboard input respect the background input setting 2017-12-02 18:12:04 +01:00
Markus Wick
76fbdbb06e
Merge pull request #5903 from linkmauve/fix-mp2e
Round values in swizzlers
2017-12-02 17:38:21 +01:00
Markus Wick
7498d80a6f
Merge pull request #5882 from degasus/efb2tex_copies
Use VideoCommon shader generators for efb2tex copies.
2017-12-02 16:28:12 +01:00
degasus
e2a9ee384f VideoCommon: Rename TextureConversionShader namespace. 2017-12-02 15:17:39 +01:00
degasus
e8febd0cef VideoCommon: Create a namespace for TextureConversionShaderGen. 2017-12-02 15:17:39 +01:00
Markus Wick
491c10ec96 VideoBackends: Use VideoCommon shader generators for efb2tex copies.
This will generate one shader per copy format. For now, it is the same
shader with the colmat hard coded. So it should already improve the GPU
performance a bit, but a rewrite of the shader generator is suggested.

Half of the patch is done by linkmauve1:
VideoCommon: Reorganise the shader writes.
2017-12-02 15:17:39 +01:00
JosJuice
2b2941d0c9 Translation resources sync with Transifex 2017-12-01 20:34:09 +01:00
Anthony
05b67c7f7c
Merge pull request #6209 from lioncash/file-statics
D3DBase: Mark file-scope variables as internally linked where applicable
2017-11-30 21:13:55 -08:00
Lioncash
1e7096dd27 D3DBase: Mark file-scope variables as internally linked where applicable 2017-11-30 23:46:46 -05:00
Stenzek
cd68b3606c
Merge pull request #6193 from stenzek/readbacks
Abstract Staging Textures - VideoCommon interface for texture readbacks/uploads
2017-12-01 14:24:06 +10:00
Leo Lam
0773a48c6c
Merge pull request #6223 from JosJuice/dont-force-immediate-xfb
Don't forcibly enable immediate XFB in game INIs
2017-11-30 19:09:55 +01:00
Anthony
7c96e51bc8
Merge pull request #6187 from raelgc/1-exit-on-esc
Add an exit key to `dolphin-emu-nogui`
2017-11-27 13:30:33 -08:00
JosJuice
6344997fad Don't forcibly enable immediate XFB in game INIs
Forcing people to use hacks is a bad idea in general, and there are
two practical problems with doing it for immediate XFB in particular:

1. It breaks the GC IPL, which some users run when launching games.

2. Competitive players don't necessarily want the lowest possible
   latency - they might want the latency that's the closest to console,
   so if they're playing locally with a low-latency monitor, they might
   not want to use immediate XFB. (This isn't a theoretical concern -
   I've seen Melee players want to increase their latency.)

Besides, it feels arbitrary that just these five specific games should
have immediate XFB forced on.
2017-11-27 14:32:27 +01:00
Leo Lam
9fe5dd7fa9
Merge pull request #6221 from leoetlino/qt-small-fixes
Qt: Small fixes
2017-11-27 13:21:34 +01:00
Léo Lam
291c99217e Qt: Fix NAND import menu item parent 2017-11-26 18:33:07 +01:00
Léo Lam
6e796a74fb Qt: Add support for --exec 2017-11-26 18:32:28 +01:00
Markus Wick
96e094e127
Merge pull request #6216 from stenzek/headless-frame-dumping
OGL: Fix headless frame dumping
2017-11-26 11:36:10 +01:00
Jules Blok
7e24b09301
Merge pull request #6218 from Armada651/uber-interpolation
UberShaderPixel: Fix the interpolation qualifier for interface blocks.
2017-11-26 02:19:14 +01:00
Jules Blok
7dd207931d UberShaderPixel: Fix the interpolation qualifier for interface blocks.
Fixes MSAA on MacOS with ubershaders enabled.
2017-11-25 21:51:14 +01:00
Michael M
fc2a0a1988 FIFOPlayerWindow: don't reset frame/object limit every frame 2017-11-24 14:11:59 -08:00
Stenzek
cf1f975148 Vulkan: Fix headless framedumping without USE_X11 set 2017-11-23 17:00:32 +10:00
Stenzek
32125cf181 OGL: Fix headless frame dumping
Also skips swapping the window system buffers in headless mode, as there
may not be a surface which can be swapped in the first place. Instead,
we call glFlush() at the end of a frame in this case.
2017-11-23 16:53:55 +10:00