Commit Graph

1599 Commits

Author SHA1 Message Date
twinaphex
b141c37fe9 Get rid of set_mvp function in D3D9 renderchain driver - use
one common set_mvp function instead
2018-02-10 21:21:09 +01:00
twinaphex
843a7f200c (D3D9) Make video texture load functions thread-safe 2018-02-10 21:13:24 +01:00
aliaspider
e11209ac79 (D3D12) precompute alpha before scaling when generating mipmaps. 2018-02-09 16:33:08 +01:00
aliaspider
6fe379d978 (D3D12) add a compute shader for mipmap generation. 2018-02-09 14:57:07 +01:00
Twinaphex
8e33b35b09
Merge pull request #6257 from aliaspider/master
(D3D11/12) fix dialogbox / gradient.
2018-02-08 20:54:05 +01:00
aliaspider
97813b9722 (D3D11/12) fix dialogbox / gradient. 2018-02-08 17:11:24 +01:00
radius
30353792a5 update gx2_gfx to use retroarch_get_shader_preset() 2018-02-07 21:26:01 -05:00
radius
e9b7c7267e fix some potential crashes when a shader is not set in config 2018-02-07 21:26:01 -05:00
radius
c64d5556c1 readd shader to config, let's use a runtime check instead of overwritting the shader preset all the time 2018-02-07 21:25:59 -05:00
aliaspider
0d88799e6d (D3D12) add menu display driver. 2018-02-08 00:18:05 +01:00
aliaspider
92afd7387d (D3D12) add a font driver. 2018-02-08 00:18:04 +01:00
aliaspider
e42015e026 (D3D12) allow for dynamic allocation of descriptors. 2018-02-08 00:18:04 +01:00
aliaspider
757a9c08de (D3D) refactors. 2018-02-08 00:18:04 +01:00
aliaspider
4ccb844ad6 (D3D12) add font and menu pipelines. 2018-02-08 00:18:04 +01:00
aliaspider
b030588669 (D3D12) refactor d3d12_init_samplers, add support for wrap modes. 2018-02-08 00:18:04 +01:00
aliaspider
6d90aae5d6 (D3D12) refactor init_pipeline. 2018-02-08 00:18:04 +01:00
twinaphex
cbd5e87711 Indenting nits 2018-02-04 22:12:53 +01:00
twinaphex
534e5bbf34 Make code compatible when compiled as C++ 2018-02-04 21:50:05 +01:00
twinaphex
028fc18294 Fix more warnings 2018-02-04 21:12:42 +01:00
twinaphex
2b4890220a (D3D) Silence CXX_BUILD warnings 2018-02-04 20:40:28 +01:00
aliaspider
700fce3bd2 various fixes for CXX_BUILD. 2018-02-04 20:03:27 +01:00
twinaphex
ac22a9ce20 (D3D10) Start making D3D10 ready for CXX_BUILD 2018-02-04 17:11:00 +01:00
twinaphex
8771171f63 (glslang) Compatibility tweaks for MSVC 2010 compatibility 2018-02-04 15:49:53 +01:00
Twinaphex
e5610d5ddb
Merge pull request #6228 from aliaspider/master
(slang) slang_process: simplify data mappings.
2018-02-03 17:27:25 +01:00
aliaspider
76d07cd6a7 (slang) slang_process: simplify data mappings. 2018-02-03 17:22:47 +01:00
twinaphex
df632814e6 Add appropriate HAVE_SPIRV_CROSS ifdefs 2018-02-03 17:13:36 +01:00
twinaphex
1464995fdc (D3D11) ability to compile without HAVE_SLANG 2018-02-03 17:01:47 +01:00
twinaphex
dac1f10708 C89_BUILD fixes 2018-02-03 15:16:04 +01:00
Twinaphex
50e902f2ea
Merge pull request #6227 from aliaspider/master
(D3D11) multi-pass shaders: add support for history frames.
2018-02-03 14:48:48 +01:00
twinaphex
0b4ccf25e7 Revert "* d3d11.c - minor cleanups for C89"
This reverts commit fa458b2f5c.
2018-02-03 14:48:34 +01:00
twinaphex
fa458b2f5c * d3d11.c - minor cleanups for C89
* C89 build fixes for D3D9X headers
2018-02-03 14:01:32 +01:00
aliaspider
e225e96025 (D3D11) multi-pass shaders: add support for history frames. 2018-02-03 13:29:00 +01:00
twinaphex
d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
aliaspider
e30c7edd8d (D3D11) multi-pass shaders: add support for feed-back textures. 2018-02-02 19:57:45 +01:00
aliaspider
6fe3a31617 (D3D11) multi-pass shaders: add support for wrap modes and lut
mipmapping.
2018-02-02 17:18:41 +01:00
aliaspider
2a25e284af (D3D11) better handling of FBO scale. 2018-02-02 14:39:53 +01:00
Twinaphex
ba3513fb70
Merge pull request #6215 from aliaspider/master
(slang) slang_process.cpp: add support for more shaders.
2018-02-01 21:10:04 +01:00
aliaspider
461a936eb4 (D3D11) correct the size data of the last pass. 2018-02-01 20:56:40 +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
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
e6c455d2c6 (D3D11) move format support checks to d3d11_init_texture(); 2018-02-01 11:21:51 +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