Commit Graph

1454 Commits

Author SHA1 Message Date
OV2
7045cd8478 win32: pass around active shader to parameter dialog 2019-02-01 22:41:29 +01:00
OV2
1ea9bcf560 win32: let shader param dialog save slangp 2019-02-01 22:33:24 +01:00
OV2
47dce09600 win32: only reload shader if filename changes 2019-02-01 00:07:52 +01:00
OV2
1dc7eec15d win32: display slang shaders in selection dialog 2019-01-31 23:18:18 +01:00
OV2
cdf2061612 win32: adjust glslang projects to use same intermed/output folders 2019-01-31 22:57:23 +01:00
OV2
8c677dd91e win32: add glslang submodule, compile with USE_SLANG 2019-01-31 22:44:34 +01:00
Brandon Wright
c9f66cf910 GTK+: matches only compared joystick bindings. 2019-01-30 17:55:22 -06:00
Brandon Wright
c74b643554 Shaders: MSVC wants this explicit. 2019-01-30 12:53:47 -06:00
Brandon Wright
a3149db714 Shaders: Remove 10-bit format identifiers. 2019-01-30 12:50:33 -06:00
Brandon Wright
4942c0560c Formatting. 2019-01-30 10:39:18 -06:00
Brandon Wright
fc31f47fc2 Shaders: Scan source code in as few passes as possible.
Improves loading time of crt-royale significantly.
2019-01-30 10:25:19 -06:00
Brandon Wright
f825f14a06 Shaders: Try to clean up in case we reuse GLSLShader. 2019-01-29 17:49:40 -06:00
Brandon Wright
a569fbeabc Typo fix. 2019-01-29 17:23:56 -06:00
Brandon Wright
3426f146f1 Shaders: Oops. Add scale check to Y, too. 2019-01-27 20:26:56 -06:00
Brandon Wright
9b67d0ad8b Shaders: Use mipmap_input flag. 2019-01-27 20:14:28 -06:00
Brandon Wright
5fc0271330 Shaders: Show errors on file load with name in "". 2019-01-27 19:12:42 -06:00
Brandon Wright
9523f10518 Add license stub. 2019-01-27 18:00:37 -06:00
Brandon Wright
8c8805da40 Slang: Implement feedback support. See below.
This uses a complex workaround because we normally draw the last
pass straight to the screen. Now, only in the event that feedback is
enabled and only if the last pass uses it, we draw to a texture and use
glBlitFramebuffer to draw to the screen (saved_framebuffer) instead.
2019-01-27 17:43:22 -06:00
Brandon Wright
58e1bfadfa Revert "Revert "Slang: Feedback support. Doesn't completely work yet.""
This reverts commit 814323513d.
2019-01-27 16:28:18 -06:00
Brandon Wright
814323513d Revert "Slang: Feedback support. Doesn't completely work yet."
This reverts commit 9536daa09b.
2019-01-26 18:13:32 -06:00
Brandon Wright
9536daa09b Slang: Feedback support. Doesn't completely work yet.
We don't commit the last stage to a texture any more, so feedback can't
read it. That would need to be reverted for this to work.
2019-01-26 17:57:03 -06:00
Brandon Wright
c1feada6d7 GTK+: Don't save single pass slang as glslp. 2019-01-26 17:56:53 -06:00
Brandon Wright
d316da9a5c Slang: Opposite of what it was before. This is correct. 2019-01-26 11:52:24 -06:00
Brandon Wright
d0bc12522b Slang: This isn't right, actually. 2019-01-25 20:29:16 -06:00
Brandon Wright
65b38ed36b Revert "Shaders: Trim whitespace and comments on preset strings."
This reverts commit 4c3d886dab.
2019-01-25 20:09:06 -06:00
Brandon Wright
02be8ba1f2 Shaders: Add support for grayscale PNGs
GTK+: Fix invalid texture clear.
2019-01-25 20:01:52 -06:00
Brandon Wright
4c3d886dab Shaders: Trim whitespace and comments on preset strings.
Report some file open failures.
2019-01-25 18:51:50 -06:00
Brandon Wright
61f5141bcc Sizes were backwards.
GTK+: Fix .slangp custom extension.
2019-01-25 17:54:55 -06:00
Brandon Wright
a3065c10b0 GTK+: slang: Notify if SPIRV-Cross submodule is missing. 2019-01-25 16:56:17 -06:00
Brandon Wright
eefb06a8d4 GTK+: slang: Make support autodetect by default. 2019-01-25 14:13:05 -06:00
Brandon Wright
febae438c6 Add SPIRV-Cross submodule. 2019-01-25 13:39:13 -06:00
Brandon Wright
01f4fed8b5 Slang shader support. 2019-01-25 13:28:24 -06:00
Brandon Wright
30c50f4fc4 GTK+: Fix key bindings with spaces. 2019-01-24 15:39:57 -06:00
Brandon Wright
d1e078e570 Only allow instantaneous IRQ when toggling IRQ completely. 2019-01-18 18:29:51 -06:00
Brandon Wright
0e559cd046 Don't use move on return value. 2019-01-18 15:14:32 -06:00
Brandon Wright
848bb64d52 GTK+: OpenGL: Fix obvious thinko with last commit. 2019-01-17 17:08:38 -06:00
Brandon Wright
175b9baf64 GTK+: OpenGL: Use MapBufferRange on GL >= 3.0. 2019-01-17 16:51:13 -06:00
OV2
5b01fa2dc1 win32: make _twfullpath work with NULL destination 2019-01-15 23:23:39 +01:00
OV2
4ede9b18cc win32: remove non existing header from project 2019-01-15 23:23:15 +01:00
Brandon Wright
4c4f3ebf07 Revert "Don't spin when SA1 is stopped."
This reverts commit 3dbac11beb.
2019-01-14 14:08:03 -06:00
Brandon Wright
3dbac11beb Don't spin when SA1 is stopped. 2019-01-13 15:52:45 -06:00
Brandon Wright
2b5d9af6ca More prep of shader files. 2019-01-13 15:52:32 -06:00
OV2
29241c9cde win32: update compile txt to include dxmath and remove ddraw hint 2019-01-13 13:55:47 +01:00
Brandon Wright
93a99a4807 GTK+: Fix threaded filters. 2019-01-12 13:03:44 -06:00
Brandon Wright
ebf1b6dadc GTK+: Fix xBRZ size fallback. 2019-01-12 11:58:32 -06:00
Brandon Wright
8c24f6d49f Check for CR in correct string. 2019-01-08 20:17:08 -06:00
Brandon Wright
4207ddc9d2 Simplify shader string handling a bit. 2019-01-08 19:44:43 -06:00
Brandon Wright
405aee6d1e Clean up shader files a bit. 2019-01-08 17:18:17 -06:00
Brandon Wright
2c1753474c GTK+: Show block invalid vram box if dangerous hacks enabled. 2019-01-08 15:48:36 -06:00
Brandon Wright
56af48c042 Reduced version of Vitor's fix for SA1 speed throttle. 2019-01-08 15:32:44 -06:00