Commit Graph

7608 Commits

Author SHA1 Message Date
Twinaphex
7eecb5b2b8
Merge pull request #6213 from aliaspider/master
(d3d11) slang reflection fix.
2018-02-01 18:03:09 +01:00
aliaspider
d0b997a414 (slang) slang_process.cpp: stage_mask texture semantic doesn't apply to
the size uniforms.
2018-02-01 17:48:27 +01:00
Twinaphex
f096e667d8
Merge pull request #6204 from aliaspider/master
(D3D11) Implement slang shader specification using Spirv-Cross.
2018-02-01 16:33:58 +01:00
aliaspider
0aa1164a6f (D3D11) fix fbo size when no scale factor is specified. 2018-02-01 16:29:40 +01:00
aliaspider
11a7171b51 (slang) set enum value SLANG_FORMAT_UNKNOWN to 0. 2018-02-01 15:13:58 +01:00
aliaspider
3865856aa2 (D3D11) add support for #pragma format in slang shaders. 2018-02-01 15:07:12 +01:00
aliaspider
91298255ad (D3D11) resize fbos when the viewport size changes. 2018-02-01 12:45:35 +01:00
aliaspider
4dd8fb4df9 (D3D11) make sure the stock shader is set before drawing the menu
texture.
2018-02-01 12:31:24 +01:00
aliaspider
5d46e8bca4 (D3D11) plug leak. 2018-02-01 11:29:28 +01:00
aliaspider
e6c455d2c6 (D3D11) move format support checks to d3d11_init_texture(); 2018-02-01 11:21:51 +01:00
twinaphex
b0013dbd68 Cleanups 2018-01-31 22:49:19 +01:00
aliaspider
f34dbdff8b (slang) cleanups. 2018-01-31 19:36:31 +01:00
twinaphex
de1efd7878 This hack is no longer needed with latest nvidia windows
drivers (390.77)
2018-01-31 18:10:53 +01:00
aliaspider
0ccfa3804b (D3D11) frame count is an unsigned int. 2018-01-31 17:21:18 +01:00
aliaspider
d8924d6fbb (D3D11) clear out all unused texture/sampler bindings each pass to avoid
hazards with SetRenderTargets.
2018-01-31 17:05:48 +01:00
aliaspider
f7b5baccb6 (D3D11) always save emitted hlsl code when debugging. 2018-01-31 16:12:55 +01:00
aliaspider
f907f2ea7d (D3D11) save spirv-cross's hlsl output when shader compilation fails. 2018-01-31 15:55:59 +01:00
aliaspider
5e09af9c77 (D3D11) attach identifiers to the generated slang semantic mappings to
simplify debugging.
2018-01-31 12:00:39 +01:00
radius
d953ec2b5f load shader presets at startup on wiiu 2018-01-30 22:49:49 -05:00
aliaspider
5bc78d3ad5 (D3D11) Implement slang shader specification using Spirv-Cross.
(incomplete)
2018-01-31 01:08:36 +01:00
twinaphex
08e61230e9 Update video_poke_interface 2018-01-30 22:29:57 +01:00
twinaphex
b0b39ff899 Cleanups 2018-01-30 22:16:16 +01:00
twinaphex
7dcd46a20f Get rid of HAVE_MENU ifdefs for video_driver_poke interface 2018-01-30 22:14:47 +01:00
twinaphex
911d01b1e4 CLeanups 2018-01-30 21:46:49 +01:00
aliaspider
b228775b0d (D3D10/11/12) allow building without HAVE_D3D9 2018-01-30 21:33:25 +01:00
aliaspider
4a3e4fc7de (mingw) include all of the sal.h defines in dxgi_common.h 2018-01-30 20:02:40 +01:00
aliaspider
13f18afcd9 (D3D10/11/12) cleanups / fixes. 2018-01-30 19:34:53 +01:00
twinaphex
27a133c4fd Update 2018-01-30 17:20:34 +01:00
twinaphex
80bdcd89a6 (D3D10/11/12) Cleanup non-HAVE_DYNAMIC codepaths 2018-01-30 17:06:57 +01:00
twinaphex
a5f232793b Silence warnings 2018-01-30 16:44:42 +01:00
twinaphex
aeab2e5bd1 enable d3d10/11/12 again for mingw build 2018-01-30 16:04:45 +01:00
twinaphex
05e35bd4b1 Compiles with MSVC 2013 2018-01-29 21:31:03 +01:00
twinaphex
a6f8013c24 More MSVC2013 buildfixes 2018-01-29 17:19:36 +01:00
twinaphex
2906744a0d (D3D10) Add non_HAVE_DYNAMIC codepaths 2018-01-29 15:33:30 +01:00
twinaphex
03e800c1c8 Add HAVE_D3D11 to MSVC 2013 - we need non-HAVE_DYNAMIC codepaths
for D3D11
2018-01-29 14:05:44 +01:00
twinaphex
891d8741db (HLSL shader driver) Cleanups 2018-01-29 12:01:52 +01:00
twinaphex
ee813ab76b Create new functions for d3d_common.c 2018-01-29 11:44:55 +01:00
cucholix
648032bd75
Update gx2_gfx.c 2018-01-26 16:10:04 -03:00
cucholix
de6c185e88
Shader parameters saving fix
It's @aliaspider code :p
2018-01-26 15:49:34 -03:00
twinaphex
6b45447425 (d3d_common.c) Cleanups 2018-01-26 07:28:54 +01:00
twinaphex
d33772195f (D3D9 Cg) CLeanups 2018-01-26 06:50:11 +01:00
twinaphex
8d6aafde95 (D3D9 Cg) Update 2018-01-26 06:36:24 +01:00
Brad Parker
9ef75473e0 fix coverity warnings 2018-01-26 00:14:59 -05:00
twinaphex
16cccb8796 (XDK360) Buildfixes 2018-01-26 05:29:44 +01:00
twinaphex
1f6b9e1c18 (Xbox 360) Buildfixes 2018-01-26 04:59:35 +01:00
twinaphex
4aca11693e video_shader_driver_reset_to_defaults - early return if current_shader
is NULL
2018-01-26 04:14:44 +01:00
twinaphex
9436cc0234 - Add HAVE_HLSL to qb/config.params.sh, set to no by default
- (D3D9 HLSL) Fix build/compilation
2018-01-26 04:09:35 +01:00
twinaphex
6f57aa84a8 Remove unused variable 2018-01-26 04:07:23 +01:00
twinaphex
5328ce7375 Cleanups to headers 2018-01-26 04:02:22 +01:00
twinaphex
61971c2f0e Remove header requirements for menu_display_d3d.c 2018-01-26 03:53:56 +01:00
Brad Parker
e2691c425c fix display server memory leaks 2018-01-25 21:48:08 -05:00
Brad Parker
9e347ec71f detect shader file changes on move and delete as well, and wait a few frames before re-applying changes 2018-01-25 19:09:55 -05:00
Brad Parker
f087b150c9 Add quick menu option to watch shader files for changes and recompile automatically (Linux only for now) 2018-01-25 15:50:57 -05:00
Twinaphex
f97ebfbf1f
Merge pull request #6179 from aliaspider/master
(D3D11) add the remaining menu shaders.
2018-01-25 17:18:59 +01:00
aliaspider
c0117f077b (D3D11) add the remaining menu shaders. 2018-01-25 17:07:23 +01:00
twinaphex
c8c7ca0c30 (XDK1) Buildfix 2018-01-25 16:46:30 +01:00
twinaphex
3adb6cc5a8 CXX_BUILD fixes 2018-01-25 16:42:10 +01:00
twinaphex
8e3b3762ad More compatibility fixes for CXX_BUILD 2018-01-25 16:33:28 +01:00
twinaphex
b0f7728606 CXX_BUILD - buildfixes 2018-01-25 15:54:37 +01:00
aliaspider
a2cddb27e5 (D3D11) refactors. 2018-01-25 15:48:53 +01:00
twinaphex
204f9aa484 (360) More buildfixes 2018-01-25 15:35:07 +01:00
twinaphex
d4367ed993 Cleanups 2018-01-25 15:30:48 +01:00
twinaphex
b9e65fc750 (D3D8) Buildfixes 2018-01-25 14:38:24 +01:00
twinaphex
8f4a1b748b (D3D8/D3D9) More dehardcoding 2018-01-25 14:34:20 +01:00
twinaphex
8422e44a2d Start moving d3dx fonts code to d3d_common.c 2018-01-25 14:13:21 +01:00
Twinaphex
994e07fa3d
Update d3d.h 2018-01-25 13:24:39 +01:00
twinaphex
e98b165761 Silence some warnings 2018-01-25 12:38:14 +01:00
twinaphex
282853873b (360) Some buildfixes 2018-01-25 12:35:46 +01:00
twinaphex
6ee8f681da Remove comment 2018-01-25 12:33:27 +01:00
twinaphex
495c702860 Buildfixes/cleanups 2018-01-25 12:30:08 +01:00
Twinaphex
4315b57791
Update d3d8.c 2018-01-25 12:27:02 +01:00
Twinaphex
8797fa95eb
Update d3d9.c 2018-01-25 12:26:45 +01:00
Twinaphex
1163c1aef8
Update d3d.h 2018-01-25 12:26:12 +01:00
twinaphex
4c390944bb Remove some more HAVE_D3D8/HAVE_D3D9 ifdefs that depend on
compile-time instead of runtime
2018-01-25 12:22:06 +01:00
twinaphex
c76ce05070 Update d3d_w32_font 2018-01-25 12:16:57 +01:00
twinaphex
aa66ca8bf4 (D3D8) Buildfix 2018-01-25 11:51:24 +01:00
twinaphex
766f3b33c7 Dehardcode some more opaque types defined by macros 2018-01-25 11:50:07 +01:00
Twinaphex
1657b9b7c4
Merge pull request #6176 from aliaspider/master
(D3D11) build fix.
2018-01-25 10:49:12 +01:00
aliaspider
183d2fcabd (D3D11) build fix. 2018-01-25 10:40:32 +01:00
twinaphex
a18e7767f3 Fix some unreferenced local variable warnings 2018-01-25 10:25:50 +01:00
twinaphex
2634a5ea2d (D3D8) Cleanups 2018-01-25 10:12:49 +01:00
twinaphex
6cdde6d9aa Get rid of warning 2018-01-25 10:06:16 +01:00
twinaphex
684374eec8 Remove D3DVIEWPORT dependency 2018-01-25 10:03:50 +01:00
Twinaphex
ef17085216
Merge pull request #6175 from aliaspider/master
(D3D11) add ribbon shader.
2018-01-25 09:50:57 +01:00
aliaspider
427003fa3b (D3D11) add ribbon shader.
- it doesn't look quite right though.
2018-01-25 09:48:07 +01:00
Twinaphex
85fab182b8
Merge pull request #6174 from aliaspider/master
(D3D11) autogen mipmaps when needed / fix text colors.
2018-01-25 09:33:44 +01:00
aliaspider
17aa49004f (D3D10/11/12) prevent some crashes on driver re-init. 2018-01-25 06:24:39 +01:00
aliaspider
da3a90a025 (D3D11) misc. 2018-01-25 05:47:19 +01:00
aliaspider
580c0184c2 (D3D11) font driver: fix text colors. 2018-01-25 05:46:48 +01:00
aliaspider
2a54cbca75 (D3D11) autogen mipmaps when needed. 2018-01-25 04:57:49 +01:00
twinaphex
0588c3c68e Don't rely on LPDIRECT3DTEXTURE 2018-01-25 04:28:50 +01:00
twinaphex
26f9489f89 Replace LPDIRECT3D 2018-01-25 04:12:37 +01:00
Twinaphex
f07571f8eb
Merge pull request #6171 from aliaspider/master
(D3D11) sample the font atlas correctly.
2018-01-25 01:59:31 +01:00
aliaspider
ccc9d36949 (D3D11) sample the font atlas correctly. 2018-01-25 01:58:17 +01:00
twinaphex
3c664f51b2 (D3D8) Buildfix 2018-01-25 01:53:45 +01:00
Twinaphex
ccfd9d79dd
Merge pull request #6170 from aliaspider/master
(D3D11) update the included shader.
2018-01-25 01:49:16 +01:00
aliaspider
0cd2310a6f (D3D11) forgot to update the included shader. 2018-01-25 01:46:30 +01:00
Twinaphex
3bfc13223c
Merge pull request #6169 from aliaspider/master
(D3D11) font + menu display drivers.
2018-01-25 01:46:17 +01:00
twinaphex
bc81a9dc88 Dehardcode LPDIRECT3DDEVICE usage 2018-01-25 01:45:03 +01:00
aliaspider
8354ffd452 (D3D12) add support for scaling/rotation im menu display driver. 2018-01-25 01:34:53 +01:00
aliaspider
45541a0d44 (D3D11) change the sprite vertex buffer to a ring buffer to avoid data
races with the gpu.
2018-01-25 01:03:54 +01:00
aliaspider
68a6b7f402 (D3D11) change the sampler adressing mode to clamp. fixes the background
in xmb.
2018-01-25 00:45:06 +01:00
aliaspider
812eefa601 (D3D11) add menu display driver. 2018-01-25 00:20:06 +01:00
twinaphex
4dc6eb0ae4 (D3D8) Rotation no longer affects RGUI 2018-01-24 22:50:44 +01:00
twinaphex
c227ce5ed2 Correct typo 2018-01-24 22:16:06 +01:00
twinaphex
e79c19e52a Ifdef this for HAVE_D3D12 2018-01-24 21:38:32 +01:00
aliaspider
840bd459df (D3D11) add a font driver. 2018-01-24 20:51:19 +01:00
Twinaphex
472abb1e8f
Merge pull request #6167 from aliaspider/master
(D3D10/11/12) add viewport settings.
2018-01-24 17:40:22 +01:00
aliaspider
30d5cd1a07 (D3D10/11/12) add viewport settings.
- move some common routines to video_driver.c
2018-01-24 15:00:32 +01:00
Twinaphex
c30715db10 Revert "Try to prevent rotation on menu"
This reverts commit 042c2e82a0.
2018-01-24 10:28:55 +01:00
twinaphex
042c2e82a0 Try to prevent rotation on menu 2018-01-24 10:16:03 +01:00
twinaphex
9018012c5c (D3D8) Now handles rotation properly (except for RGUI frame
being rotated as well)
2018-01-24 10:08:52 +01:00
aliaspider
a6b24ce995 (d3d10/11/12) reformat some files. 2018-01-24 07:45:45 +01:00
aliaspider
cba3c5b68c (D3D12) add remaining guids. 2018-01-24 07:33:14 +01:00
twinaphex
63ad668ff0 Add HAVE_DYNAMIC ifdefs 2018-01-24 02:12:58 +01:00
twinaphex
80b17668b6 Add initial VS2013 solution 2018-01-24 01:29:45 +01:00
twinaphex
4dd3a22679 (D3D12) Silence MSVC warnings 2018-01-24 00:38:11 +01:00
twinaphex
1028dc7959 (D3D12) D3D32 works with Mingw now - based on this -
https://github.com/wolfgangfengel/graphicsdemoskeleton/blob/master/DirectX%2012/01_Skeleton/Window.c#L35
2018-01-24 00:32:18 +01:00
twinaphex
0e363164b1 Attempt to get further with D3D12 for mingw - now compiles
but doesn't link yet
2018-01-24 00:14:26 +01:00
twinaphex
d387cfbfbe Add include/dxsdk 2018-01-23 23:40:17 +01:00
aliaspider
956c6ca25a (d3d10/11/12) resize swapchain correctly when the window's size changes. 2018-01-23 20:27:03 +01:00
aliaspider
3a53010b13 (D3D10/12) frame duping. re-enable vsync. 2018-01-23 19:11:44 +01:00
aliaspider
a5bf9d8dc6 (D3D10/11/12)
.add a d3d10 driver.
.add more utility functions to d3d*_common files.
.add an image transfer/convert function to dxgi_common.
.various refactors / style nits.
2018-01-23 18:04:55 +01:00
twinaphex
c6fd61cc86 (D3D8) Buildfix 2018-01-23 07:21:53 +01:00
twinaphex
673a190d84 Merge d3d8_renderchain into d3d8.c 2018-01-23 07:18:46 +01:00
twinaphex
ce19e7c98a Get rid of unused reinit function and get rid of other
unused stuff in D3D8
2018-01-23 07:00:25 +01:00
twinaphex
393ebfc467 (D3D8) No automatic generation of mipmaps possible, so remove this code 2018-01-23 06:53:07 +01:00
twinaphex
bb1fdad0d9 (Switch) Replace malloc() with calloc() in switch_gfx.c 2018-01-23 06:48:10 +01:00
twinaphex
93523782e5 Uniquely name D3D9 2018-01-23 06:43:03 +01:00
twinaphex
f1c5812ff8 (D3D8) Buildfixes 2018-01-23 06:31:33 +01:00
twinaphex
3a30c71cea (D3D8) Buildfix 2018-01-23 06:30:46 +01:00
twinaphex
9be084de00 Static / public functions and interfaces need to be named
uniquely for Griffin
2018-01-23 06:29:33 +01:00
misson20000
5f8c888e0f [NSW] remove checks for running under Mephisto, since not only do they prevent us from running under Yuzu, but we don't have libtransistor_context anymore 2018-01-22 20:36:32 -08:00
twinaphex
4b6c4e5a6a BUildfix for D3D enum 2018-01-23 04:25:37 +01:00
twinaphex
d3c2d90a2c BUildfix 2018-01-23 03:53:35 +01:00
twinaphex
7e56ecba4b Cleanups 2018-01-23 03:22:00 +01:00
twinaphex
e2e411bfa5 BUildfixes 2018-01-23 03:20:14 +01:00
twinaphex
6cb2159a50 Buildfix for D3D8 renderchain 2018-01-23 03:00:34 +01:00
twinaphex
d28d14079a Create separate D3D8 and D3D9 drivers 2018-01-23 02:55:33 +01:00
twinaphex
1a20fff7f2 Revert "reimplement mvp for D3D8"
This reverts commit f0d47bcd13.
2018-01-22 23:03:02 +01:00
twinaphex
f0d47bcd13 reimplement mvp for D3D8 2018-01-22 23:01:20 +01:00
twinaphex
e8ff299fd4 Revert "(D3D8) Implement rotation matrix"
This reverts commit ef63b4342c.
2018-01-22 20:54:22 +01:00
twinaphex
ef63b4342c (D3D8) Implement rotation matrix 2018-01-22 20:27:53 +01:00
twinaphex
3271b61b6a Some safeguards 2018-01-22 20:03:34 +01:00
twinaphex
63d9d80d17 Cleanup d3d9_cg_renderchain.c 2018-01-22 08:18:28 +01:00
twinaphex
6ee8ddb496 (D3D11) Some minor style nits 2018-01-22 07:35:36 +01:00
aliaspider
80df049f41 (D3D11/12) refactors/fixes. add blending and selectable samplers for
d3d12.
2018-01-21 23:46:50 +01:00
aliaspider
d0d8a98046 (msvc) fix glslang build.
glslang still can't build with griffin since the files expect to be
compiled seperately.
2018-01-21 11:52:56 +01:00
twinaphex
e601190ecb (D3D11/12) Fix warnings 2018-01-21 07:57:25 +01:00
twinaphex
6319dbcc8a d3d_common.c - cleanups 2018-01-21 06:41:54 +01:00
twinaphex
8d7e9b31a4 Cleanups 2018-01-21 06:34:33 +01:00
Twinaphex
ffff5df787
Merge pull request #6148 from aliaspider/master
(D3D11/D3D12) initial video driver implementation.
2018-01-21 04:59:18 +01:00
twinaphex
2178b6d10f Vulkan temporary workaround for swapchain recycling (nvidia) -
Both swapchain recreation methods are proper andwithin the Vulkan specs.
The differnece is retroarch follows method (apparently proposed in
vulkan samples) that "hopes" the driver will reuse some of the old
swapchain resources, while the other method destroys everything and
recreates from scratch. At the moment on Nvidia drivers the second
method is stable while the first method is unreliable in all cases
today.
2018-01-21 04:40:01 +01:00
aliaspider
094196220d (D3D11/D3D12) initial video driver implementation.
- some headers from the windows 10 sdk need to be added to the include
path when targeting mingw :
   d3d11.h
   d3d11sdklayers.h
   d3d12.h
   d3d12sdklayers.h
   d3d12shader.h
   d3dcommon.h
   d3dcompiler.h
2018-01-21 04:10:45 +01:00
twinaphex
983617372a (d3d_common.c) With D3D9 Xbox 360, these functions don't
return anything
2018-01-20 23:40:53 +01:00
Toad King
55334aeffd fix black frame insertion in emscripten 2018-01-20 13:01:48 -06:00
twinaphex
4a5de7ed6a Use D3D common format functions 2018-01-20 16:45:45 +01:00
twinaphex
2cb8b50cef D3DXCompileShader - D3D9 only 2018-01-20 16:40:26 +01:00
twinaphex
fe72bc3ab6 (d3d_common.c) Get rid of Xbox 360-specific ifdefs 2018-01-20 16:38:10 +01:00
twinaphex
cc1a828c87 d3d_get_color_format_backbuffer - cleanups 2018-01-20 16:35:59 +01:00
twinaphex
5fc2f3db51 Add HAVE_D3DX ifdefs 2018-01-20 07:04:21 +01:00
twinaphex
9f7d0d59c5 (Xbox 1) Fix texture U/V 2018-01-20 07:00:03 +01:00
twinaphex
1d9ea0297e Move this lower in priority 2018-01-20 06:50:25 +01:00
twinaphex
c106783e85 (XDK1) Now renders RGUI and game frame properly 2018-01-20 06:25:02 +01:00
twinaphex
4bd4692cf2 Get rid of another _XBOX ifdef 2018-01-20 02:09:51 +01:00
twinaphex
6f73bdf287 (Emscripten) Cleanups 2018-01-20 02:05:37 +01:00
twinaphex
f97d6ec909 (VC EGL) Cleanups 2018-01-20 02:03:49 +01:00
twinaphex
fb257eb21e (GL/Raspberry Pi) Should fix the regression with GL cores on
Raspberry Pi
2018-01-19 22:45:04 +01:00
twinaphex
a3b593f27b (D3D) Take this out for Xbox 2018-01-19 22:41:58 +01:00
twinaphex
273d94e549 Remove this 2018-01-19 22:09:58 +01:00
twinaphex
cdcca43233 remove _XBOX1 ifdefs 2018-01-19 05:42:54 +01:00
twinaphex
cb475f7815 Take out _XBOX1 codepath 2018-01-19 05:22:25 +01:00
twinaphex
d8e9e3383d Revert "(Xbox) Swizzled formats on Xbox need to be POW2"
This reverts commit f608b5ed52.
2018-01-19 05:06:46 +01:00
twinaphex
7484e01034 Revert "This one complains too"
This reverts commit 1a3a88a62e.
2018-01-19 05:06:24 +01:00
twinaphex
1a3a88a62e This one complains too 2018-01-19 05:04:11 +01:00
twinaphex
f608b5ed52 (Xbox) Swizzled formats on Xbox need to be POW2 2018-01-19 05:00:50 +01:00
twinaphex
47f6ff7435 Silence warning 2018-01-19 04:56:10 +01:00
twinaphex
dc81998c0b (Xbox OG) Buildfixes 2018-01-19 04:55:34 +01:00
twinaphex
5b5e3e4a05 Cleanups 2018-01-19 04:45:11 +01:00
twinaphex
88873776c8 Cleanups 2018-01-19 04:13:02 +01:00
twinaphex
9f45370120 Cleanups 2018-01-19 03:54:07 +01:00
twinaphex
daa2a572b9 Cleanup 2018-01-19 03:52:32 +01:00
twinaphex
4ef66e6e8c This should make XMB/MaterialUI render correctly on D3D8 2018-01-19 02:24:10 +01:00
Mahyar Koshkouei
87a7c0f426 Show GL hex error in hex
Fixes an issue whereby a hexadecimal error value was being printed in
decimal.

Tested on a RPi that suffers from issue 6078.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-17 17:08:03 +00:00
twinaphex
281223eae8 Xbox ifdefs 2018-01-17 08:54:06 +01:00
twinaphex
136068098d Xbox fixes 2018-01-17 08:51:56 +01:00
twinaphex
29098d6b99 Not necessary for D3D8 we believe 2018-01-17 07:45:06 +01:00
twinaphex
f1f3a6f0ae Remove some Xbox specific code 2018-01-17 07:37:05 +01:00
aliaspider
ebd9430982 (D3D8) can now render content frame, rgui and overlays. 2018-01-17 07:10:45 +01:00
twinaphex
11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
twinaphex
f48458d5bd (D3D9) Fix warning 2018-01-17 00:53:47 +01:00
twinaphex
61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
twinaphex
830b2e429d Buildfix 2018-01-16 09:43:17 +01:00
twinaphex
c4d3ea6f8d Add want_mipmap function parameter to d3d_texture_new 2018-01-16 09:11:14 +01:00
twinaphex
4ead2df09e (D3D) Remove HAVE_FBO ifdef - should make shaders work again 2018-01-16 08:15:10 +01:00
twinaphex
713de18a04 Revert "Simplify d3d9_cg_renderchain"
This reverts commit 17d1e387de.
2018-01-16 03:29:10 +01:00
twinaphex
0c07dc6f24 Revert "Updates to d3d9_cg_renderchain"
This reverts commit f13148d10e.
2018-01-16 03:28:57 +01:00
twinaphex
1dee2438e6 Revert "(Cg D3D9) Cleanups"
This reverts commit 6c95f389b1.
2018-01-16 03:28:47 +01:00
twinaphex
6c95f389b1 (Cg D3D9) Cleanups 2018-01-16 03:22:13 +01:00
twinaphex
f13148d10e Updates to d3d9_cg_renderchain 2018-01-16 03:18:12 +01:00
twinaphex
91e8f7d4db BUildfix 2018-01-16 03:12:38 +01:00
twinaphex
17d1e387de Simplify d3d9_cg_renderchain 2018-01-16 03:09:51 +01:00
twinaphex
7477dd65ff (D3D8) Try to implement set_final_viewport 2018-01-16 02:57:24 +01:00
twinaphex
bce0c40b73 (D3D8) Assume we need to set this 2018-01-16 02:32:26 +01:00
twinaphex
734e952457 (D3D8) Try this 2018-01-16 02:26:35 +01:00
twinaphex
3bdea333e1 enable this 2018-01-16 02:22:53 +01:00
twinaphex
8ddcf4d6d7 Let's try this 2018-01-16 02:21:43 +01:00
twinaphex
797f26421a Add MVP code 2018-01-16 01:16:38 +01:00
twinaphex
9d144e28fc Use D3DFVF_XYZ for PC, D3DFVF_XYZRHW for Xbox 2018-01-16 02:04:50 +01:00
twinaphex
ae52cd2c68 Fix return type of render_pass 2018-01-16 01:41:16 +01:00
twinaphex
7a281a348e Fix d3d8_renderchain 2018-01-16 01:38:31 +01:00
twinaphex
591e8e22c7 Fix d3d8_renderchain_free 2018-01-16 01:37:07 +01:00
twinaphex
89ee07486a Remove d3d8_renderchain_clear 2018-01-16 01:34:39 +01:00
twinaphex
7ceb107c6a Rewrite d3d8_renderchain.c 2018-01-16 01:30:59 +01:00
twinaphex
e32ceb8f30 Rewrite d3d_texture_blit 2018-01-16 00:08:10 +01:00
twinaphex
86385dcaf7 Start creating d3d_texture_t 2018-01-15 23:13:16 +01:00
twinaphex
fdffc1a178 One ifdef less 2018-01-15 22:04:15 +01:00
twinaphex
f26b18c7a4 D3D8 compilation fixes 2018-01-15 20:58:13 +01:00
twinaphex
391fd3eadc Fix CXX_BUILD for D3D 2018-01-15 21:44:49 +01:00
Toad King
78a3d0f828 Merge branch 'master' into more-emscripten-fixes 2018-01-15 04:09:26 -06:00
Toad King
19facdb066 reset drivers shortly after toggling fullscreen mode
fixes black screen after going fullscreen in game
2018-01-15 02:12:53 -06:00
Toad King
b75f4b4f67 implement setting vsync and swapinterval
vsync is not "true" vsync (that's always on in browsers) but changes the main loop timer from immediate to window.requestAnimationFrame
2018-01-14 23:29:20 -06:00
twinaphex
59b5ecf7db (XDK) Buildfixes 2018-01-15 06:36:02 +01:00
twinaphex
c398db76d4 (xdk360_fonts.cpp) Cleanups 2018-01-15 06:32:40 +01:00
twinaphex
27caf46616 Add d3d_get_render_state 2018-01-15 06:14:20 +01:00
twinaphex
510dfca756 Start adding C++ code path for SetVertexShaderConstantF and
refactor xdk360_fonts.cpp calls
2018-01-15 06:01:59 +01:00
Twinaphex
e948412bb4
Merge pull request #6108 from aliaspider/master
(direct3D) fix scaling in the menu display driver.
2018-01-15 03:48:40 +01:00
aliaspider
25a7c04a27 (direct3D) fix scaling in the menu display driver. 2018-01-15 03:45:37 +01:00
twinaphex
93b523e6ea C89 buildfix 2018-01-15 01:01:41 +01:00
Toad King
60f203d344 fix emscripten build 2018-01-14 16:03:44 -06:00
Twinaphex
9b0b16e2c0
Merge pull request #6106 from ToadKing/emscripten-fixes
Emscripten rewrites
2018-01-14 22:40:00 +01:00
Toad King
c8f03b4640 fix fullscreen sometimes losing state 2018-01-14 15:19:37 -06:00
Toad King
5ef595be1a fix fullscreen 2018-01-14 02:33:22 -06:00
Toad King
77b158e6a2 fix compiler warning 2018-01-13 20:47:30 -06:00
Twinaphex
332ccbf300
Merge pull request #6097 from aliaspider/master
(Direct3D) Menu display driver implementation.
2018-01-14 02:54:40 +01:00
aliaspider
7b09d5399c (Direct3D) Menu display driver implementation. 2018-01-14 02:21:48 +01:00
twinaphex
8e6f931f85 Add some safeguards 2018-01-13 23:50:14 +01:00
aliaspider
9cb896a3d9 (win32) WS_EX_LAYERED drastically decreases performance, so only set it
when needed (when opacity < 100).
2018-01-13 07:53:13 +01:00
Toad King
a77f9c37c6 start on bringing the emscripten video code up to speed with latest emscripten
fix rwebinput
2018-01-13 00:05:07 -06:00
Twinaphex
e099b8150c
Merge pull request #6083 from aliaspider/master
(WIIU) add remaining menu shaders.
2018-01-12 03:00:22 +01:00
aliaspider
24cb240079 (WIIU) add remaining menu shaders.
- move some files around.
2018-01-12 02:54:45 +01:00
twinaphex
8dd6328fb7 Get rid of warning 2018-01-11 23:05:26 +01:00
twinaphex
54fd72fb24 Make it possible to compile with HAVE_VULKAN on MSVC 2017 build ;
glslang stripped out for now
2018-01-11 02:53:40 +01:00
aliaspider
eac088696a (WIIU) add ribbon shader. fix menu bg gradient. 2018-01-11 02:09:03 +01:00
twinaphex
7e9945cde9 Buildfix 2018-01-09 23:47:13 +01:00
Twinaphex
2a42983b4f
Merge pull request #6077 from aliaspider/master
(WIIU) fix detection of 32bit input frames.
2018-01-09 17:53:47 +01:00
aliaspider
a8d3ddc05d (WIIU) fix detection of 32bit input frames. 2018-01-09 17:05:09 +01:00
Twinaphex
ae8d0630e2
Merge pull request #6076 from aliaspider/master
(WIIU) custom shader: add support for input textures and most uniforms.
2018-01-09 16:52:20 +01:00
aliaspider
f34e180b40 (WIIU) custom shader: add support for input textures and most uniforms. 2018-01-09 16:41:01 +01:00
Twinaphex
bf1bd83631
Merge pull request #6071 from fr500/master
Disable hard sync on FF without mangling settings"
2018-01-09 03:43:33 +01:00