Brandon Wright
5b4ca50792
GTK+: Strip out extra sound code.
...
No more Stereo, 16-bit or Reverse options.
2019-02-06 19:41:33 -06:00
Brandon Wright
d8579ff9cb
win32: XAudio2: Allow partially filling sample blocks.
...
Use minimal Snes9x-side buffer with XAudio2.
2019-02-06 17:29:46 -06:00
Brandon Wright
2701e7219c
Get SoundSync working and don't overflow dsp buffer.
2019-02-06 15:00:45 -06:00
Brandon Wright
9994023f09
Allow use of Snes9x-side buffer if needed.
2019-02-05 19:56:59 -06:00
Brandon Wright
1a41ca21b3
Don't clear MSU if not enabled. Change sound sync level.
2019-02-05 19:34:50 -06:00
Brandon Wright
c376908f2e
Revert "Revert "APU: Big refactor." I'll put this in a branch."
...
This reverts commit 19f03c44de
.
2019-02-05 17:21:23 -06:00
Brandon Wright
19f03c44de
Revert "APU: Big refactor." I'll put this in a branch.
...
This reverts commit aebfc85cdf
.
2019-02-05 17:20:23 -06:00
Brandon Wright
aebfc85cdf
APU: Big refactor.
...
Remove 8-bit, Mono, and Reverse Stereo options.
2019-02-05 16:26:22 -06:00
Brandon Wright
2f646879d3
GTK+: Tweak onscreen font a bit.
2019-02-04 14:13:00 -06:00
Brandon Wright
28d668fff7
win32: Shaders: Save parameters and restore on cancel.
...
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.
Adjust the spacing and remove the message about custom shader files.
2019-02-02 19:08:19 -06:00
Brandon Wright
b46a954874
Revert "win32: Shaders: Save parameters and restore on cancel."
...
This reverts commit 93a4cdea96
.
2019-02-02 19:07:36 -06:00
Brandon Wright
93a4cdea96
win32: Shaders: Save parameters and restore on cancel.
...
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.
2019-02-02 16:50:24 -06:00
Brandon Wright
e678ad558d
Merge remote-tracking branch 'origin/slang-win32'
2019-02-02 15:03:37 -06:00
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
Brandon Wright
0cb166862f
GTK+: Add things to shader parameters dialog:
...
Spin buttons next to sliders for precise control.
Save as box to save a new preset.
2019-01-31 16:33:17 -06: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