Commit Graph

106 Commits

Author SHA1 Message Date
JS Deck
188569e164 Add UNSCALED to flat primitive vertex shader 2020-10-16 01:48:27 -03:00
Autechre
ad9f77dfc8
Merge pull request #740 from xzn/filter_opt
Add options to exclude sprites and 2D polygons from texture filtering (Vulkan); Texture UV offset adjustment (Vulkan)
2020-09-28 01:54:45 +02:00
JS Deck
6f8751a878 Texture uv adjustment (Vulkan) 2020-09-27 08:02:18 -03:00
JS Deck
f1c78470dd Hide texture filtering exclude options for non-Vulkan; minor refactoring 2020-09-27 04:01:09 -03:00
JS Deck
9306e348d2 Add options to exclude sprites and 2D polygons from texture filtering 2020-09-26 22:27:08 -03:00
JS Deck
b69915ab50 Fix "almost" infinite loop in Suikoden 2020-09-26 19:44:47 -03:00
JS Deck
ea3ac0b3b1 VRAM wrap around possible missing graphics 2020-09-26 10:12:24 -03:00
JS Deck
8c7977dbec VRAM wraparound for copy_vram_to_cpu_synchronous 2020-09-26 10:06:22 -03:00
JS Deck
59848ce4e7 VRAM wraparound for adaptive smoothing 2020-09-26 09:48:44 -03:00
Autechre
a0a08bb4a5
Merge pull request #722 from xzn/scaled_read
Scaled read (fix performance regression)
2020-09-17 21:13:02 +02:00
JS Deck
8ecc2bc99f Simplify hack to avoid texture filtering on scaled read 2020-09-17 13:23:42 -03:00
JS Deck
e53d1edf97 Wrap around in vram on scanout 2020-09-17 13:03:21 -03:00
JS Deck
6124a0639f Add barrier to prevent flickering in location titles in Valkyrie Profile 2020-09-16 20:02:58 -03:00
JS Deck
b16264646d Add shift variable to spec constant 2020-09-16 12:01:25 -03:00
JS Deck
ac16efdadd Avoid textureLod path that requires division; fix performance regression 2020-09-16 11:40:15 -03:00
JS Deck
5e9f20426e Unbreak scanout_to_buffer, scanout_vram_to_texture, and scanout_vram_to_buffer when msaa is enabled 2020-09-11 12:23:09 -03:00
JS Deck
063066e4f6 Make uv_rect passed to texture_loaded in build_attribs more correct; some minor cleanup 2020-09-11 11:38:10 -03:00
JS Deck
d057a30e74 Added missing prebuilt shader files 2020-09-11 09:53:15 -03:00
JS Deck
9eeb6d0a6b Simplify ternary code in render_semi_transparent_primitives 2020-09-11 07:34:20 -03:00
JS Deck
f0e727c4e3 Use unscaled framebuffer read when possible (some performance improvement) 2020-09-11 07:16:56 -03:00
JS Deck
1eb54df46d Use separate pass for msaa resolve (minor performance improvement) (fix broken msaa resolve on AMD hardware) 2020-09-11 05:53:40 -03:00
JS Deck
746aed70d9 Use scaled_framebuffer_msaa for texture reads if possible (fix unwanted black outlines in Vagrant Story for msaa as well) (further performance hit) 2020-09-11 03:44:29 -03:00
JS Deck
2076679f45 Ignore first/last row/column instead of checking if half loaded in atlas texture_loaded 2020-09-10 21:41:14 -03:00
JS Deck
e90953d9b6 Use scaled_framebuffer for texture reads (higher quality fix for unwanted black oulines for Vagrant Story) (performance regression to be resolved) 2020-09-10 21:03:34 -03:00
JS Deck
8f07739706 Use nearest neighbor for resolve to unscaled; separate pass for ssaa 2020-09-10 14:29:34 -03:00
JS Deck
af43eea4ce Spec constants for resolve 2020-09-09 09:55:03 -03:00
JS Deck
66cc554ced Spec constants for feedback shaders 2020-09-09 09:37:17 -03:00
JS Deck
80ffdfecda Spec constants for filters to get down the number of shader combinations 2020-09-09 06:14:01 -03:00
JS Deck
f83591434f Update JINC2 to prevent NaN, which result in black texture in some cases 2020-09-02 04:03:36 -03:00
amoser
b62ab9bcf2 Updated built shaders to reflect source changes 2020-07-28 05:43:33 -07:00
amoser
c635294aab
Fix incorrect jagged edges with masked textures
Need to check filtered transparency before discarding pixels, as unfiltered transparency generally excludes pixels that should remain opaque based on the filtered result. This results in highly incorrect stair-step edges.
2020-07-27 06:24:21 -07:00
amoser
b11adfe55d
Correctly clamp coordinates with xBr and SABR
Clamp texture coordinates in xBr and SABR filtering, correcting an issue wherein garbage is drawn for faces with degenerate GXP perspective correct textures are enabled
2020-07-27 06:06:39 -07:00
Aaron Kling
81560b34f9 libretro: android: Fix hw compilation 2020-06-25 22:44:35 -05:00
stoofin
66330c395e Fix failed assert when asked to clear an empty rect 2020-06-18 20:34:12 -07:00
stoofin
7c023980ca added track textures option 2020-06-18 02:42:30 -07:00
twinaphex
6ebadc50ea Logging optimizations 2020-06-17 11:05:20 +02:00
stoofin
54d1d4a3b0 updated prebuilt shaders 2020-06-16 22:53:20 +02:00
stoofin
cafb14279a wip so far 2020-06-16 22:53:15 +02:00
ggdrt
c59938f264 parallel-psx: Remove unnecessary includes from renderer.cpp 2020-03-21 21:37:02 -07:00
ggdrt
f62af0b8ed Rework UpdateDisplayMode and rsx set_display_mode functions 2020-02-25 13:04:35 -08:00
ggdrt
66ff3830ba parallel-psx: Decouple MDEC and SSAA filter logic 2020-02-21 15:01:00 -08:00
ggdrt
fe3cb3394e VK renderer: Add Display VRAM core option support 2020-02-21 15:00:19 -08:00
ggdrt
e3e511be78 Add GP1(05h) command to rsx and parallel-psx, update rsx_dump
Delay VRAM framebuffer size calculation to latest possible moment in
Vulkan renderer; don't rely on external timing of UpdateDisplayMode.
2020-02-20 20:58:09 -08:00
ggdrt
2bcb026ed5 Update READMEs 2019-12-25 11:04:17 -08:00
Hans-Kristian Arntzen
9c6351702b parallel-psx: Fix precision bug with resolve roundtrip.
This is a big problem when using paletted textures. It is very easy to
trigger scenarios where we roundtrip resolve unscaled -> scaled ->
unscaled.

We need to round in pack_abgr1555 because we can get an off-by-one
otherwise, especially when resolving large upscaling factors.

Also, remove mediump from the resolve shaders, since we need pretty
decent precision to ensure there is a 1:1 roundtrip.
2019-12-18 21:26:20 +01:00
ggdrt
980b24b4ef Update RSX dump and playback for recent additions 2019-11-22 07:19:55 -08:00
ggdrt
49828593ce Add horizontal offset option to GL and VK 2019-11-19 15:54:49 -08:00
ggdrt
592708520c Implement initial/last scanline options for Vulkan 2019-11-17 19:47:05 -08:00
ggdrt
3215862705 Implement display range code for Vulkan renderer
* VK renderer now outputs psx vram fb within proper display area
* Implement and reenable horizontal overscan cropping option
* Update rsx and Vulkan rsx playback for new VK renderer code
2019-11-13 20:47:56 -08:00
twinaphex
45d307778b Use system path include 2018-12-27 16:37:06 +01:00