7406 Commits

Author SHA1 Message Date
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
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
aliaspider
80880ec857 (slang) slang_process.cpp: enforce the binding of the uniform and push
constant blocks.
2018-02-01 21:45:36 +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
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
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
aliaspider
f34dbdff8b (slang) cleanups. 2018-01-31 19:36:31 +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
aliaspider
5bc78d3ad5 (D3D11) Implement slang shader specification using Spirv-Cross.
(incomplete)
2018-01-31 01:08:36 +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