Commit Graph

7436 Commits

Author SHA1 Message Date
twinaphex
1464995fdc (D3D11) ability to compile without HAVE_SLANG 2018-02-03 17:01:47 +01:00
twinaphex
8e96700f0f (D3D8/D3D9) Update headers to work with C89 2018-02-03 16:50:26 +01:00
twinaphex
5d2b7ce32f (D3D8 headers) Start making this C89-compatible 2018-02-03 15:29:56 +01:00
twinaphex
0336c2f975 (Headers) Make Cg/D3D9 X headers C89-compatible 2018-02-03 15:18:19 +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
178730891d - Silence more warnings
- Don't include d3dx headers when including cgD3D9
2018-02-03 13:11:31 +01:00
twinaphex
d446742d4b Some C89_BUILD build fixes 2018-02-03 12:47:53 +01:00
twinaphex
88cb40834c Style nits 2018-02-02 22:50:07 +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
aliaspider
7f75e9f4cf build fix for HAVE_GLSLANG=1 HAVE_VULKAN=0. 2018-02-02 13:35:31 +01:00
aliaspider
1fd1426388 (slang) no need for this anymore. 2018-02-02 12:32:31 +01:00
Twinaphex
1d118c46a3
Merge pull request #6220 from aliaspider/master
(D3D11) font + slang fixes.
2018-02-02 02:38:33 +01:00
aliaspider
1e96393228 (D3D11) font renderer: fix line spacing. 2018-02-02 02:21:18 +01:00
aliaspider
caad590d04 (slang) slang_process: fix compatibility with more shaders. 2018-02-02 01:50:18 +01:00
Twinaphex
b297bd7e6c
Merge pull request #6217 from aliaspider/master
(slang) slang_process: fix clash with HLSL keywords.
2018-02-01 23:09:03 +01:00
aliaspider
189ea0578d (slang) slang_process: change the type of FragCoord only when it is a
pixel shader input.
2018-02-01 22:22:56 +01:00
aliaspider
b8e3933fe0 (slang) slang_process: 'linear' and 'point' are also reserved keywords
in HLSL.
2018-02-01 22:11:11 +01:00
Twinaphex
d24478d0d8
Merge pull request #6216 from aliaspider/master
(slang) slang_process.cpp: enforce the binding of  the uniform and push constant blocks.
2018-02-01 21:50:11 +01:00
aliaspider
80880ec857 (slang) slang_process.cpp: enforce the binding of the uniform and push
constant blocks.
2018-02-01 21:45:36 +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
aliaspider
8db625dd59 (slang) slang_process.cpp: add support for more shaders. 2018-02-01 20:10:07 +01:00
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