flyinghead
8d071bf4ea
naomi2: dx11 support. fix ambient color. no depth write in per-strip
...
dx11: naomi2 support
n2: ambient color was swapping red and blue
gl, dx11: don't write depth in per-strip to avoid missing geometry,
prefer wrong depth order/blending for now
optimize naomi2 per-triangle sorting
2022-02-13 21:01:45 +01:00
Flyinghead
a14086d484
naomi2: shader error in gles. Invert clubkart wheel axis
2022-02-11 19:06:58 +01:00
Flyinghead
20d25059bf
naomi2: remove geom shader. Merge transparent polys. bump mapping fix.
...
elan: Get rid of geometry shader and do geometry clipping manually.
pvr: Aggressively merge transparent polys in per-triangl and OIT mode, duplicating the last vertex to merge opposite cull mode strips.
gl4: reset OIT pointers in final shader. No need for clear pass.
gl4: alternate between 2 buffers for verts.index/tr poly params.
gl4: use gl_VertexID + poly number for poly index.
gl: new GlBuffer class.
2022-02-11 15:54:18 +01:00
Flyinghead
ccee7162bc
naomi2: soulsurfer inputs, 2-volume UV, wrong TA parser selected
...
TAParserDX was used for pass-through TA data. Fixes health bar color in
vf4 and dust color in kingrt66.
2-volume missing u1/v1. Fixes clubk shadows.
2022-02-08 10:32:56 +01:00
Flyinghead
debbae6ab1
naomi2: elan v10 emulation. texture dma xfers. 2-volume support
...
emulate elan v10 (fixes modvol in vf4, initd, beachspiker, wldrider)
wrong color order for model and vtx color
model param override xor support
improved light direction precision. Angle attenuation algo change
get rid of alpha light and modifier volume hacks
texture dma xfer from main and elan ram
gl4: use geometry only vtx and geom shaders for depth pass
2-volume support
2022-02-05 14:50:12 +01:00
Flyinghead
2c6f01ae38
naomi2: kingrt66 wiper button. initd gear up/down
...
kingrt66: map wiper button, remap shift H and R
initd: map gear up and down
wldrider: remap push and pull
2022-02-05 14:29:01 +01:00
Flyinghead
0362fd1079
naomi2: disable elan when net rollbacking, optimizations. ggpo: RTT fix
...
n2: do not process elan commands during ggpo rollbacks.
n2: Cache model colors to avoid unpacking for each vtx
pvr: merge equivalent polys with different culling by duping a vtx
pvr: fix crash during direct FB render
pvr: use correct color ordering for naomi2. Use identify matrix for null matrix pointers
ggpo: do not signal end of frame on a render to texture
2022-02-01 17:37:54 +01:00
Flyinghead
38765dc89a
pvr: fix multipass. naomi2: constant color shading.
...
pvr: link multipass TA contexts. Each pass has its own.
pvr: get rid of context pool
naomi2: constant color shading. Use model diffuse and specular
selection. Don't use vtx color for offset color.
naomi2: pseudo-parallel lights fix
naomi2: pass-through TA data needs forced list type. Terminate with
end-of-list
enable RTT copy to vram for Beach Spikers
2022-01-31 20:40:09 +01:00
Flyinghead
78306b3c12
ggpo: memory leak in free_buffer
2022-01-30 12:39:00 +01:00
Flyinghead
e51a291195
ggpo: wrong elan ram offset calculation
2022-01-30 12:39:00 +01:00
flyinghead
d551848a9b
dummy commit
2022-01-29 19:39:08 +01:00
Flyinghead
fe6247dded
cheats: iOS build fix
2022-01-29 18:40:19 +01:00
Flyinghead
5fb8b458bb
pvr: use TA_OL_BASE instead of PARAM_BASE/TA_ISP_BASE to id TA context
...
Writes current TA_OL_BASE to all tiles OPB block. Read from region array
at render time to identify context.
Fixes vf4 water reflections RTT
get rid of dump_frame/read_frame
2022-01-29 18:39:38 +01:00
Flyinghead
340c55c570
build fix
2022-01-28 22:30:07 +01:00
Flyinghead
de1322b928
naomi2: Fix T&L matrix. vmem elan ram support.
...
Fix T&L matrix (wild riders)
Open GL support for normal/light matrix
handle elan RAM in vmem
2022-01-28 21:24:30 +01:00
Flyinghead
010d257b69
naomi2: vf4tuned cheat/hack to skip DIMM fw version check
2022-01-28 20:02:07 +01:00
Flyinghead
e5d517dad2
use platform.isConsole(), platform.isNaomi(), ...
2022-01-27 17:52:19 +01:00
Flyinghead
965dea5fe6
test fix
2022-01-27 16:44:37 +01:00
Flyinghead
1ffcc75031
naomi2: implement SB_ISTNRM for clxb. serialize elan state
2022-01-27 16:40:12 +01:00
Flyinghead
e084cc9a3a
jvs: set received jvs message trail to zero
...
fixes sh4 crash during naomi boot
2022-01-27 15:50:44 +01:00
Flyinghead
6ed78d1202
another GL_CLIP_DISTANCE0 build fix
2022-01-26 22:37:38 +01:00
Flyinghead
270eaa1452
GL_CLIP_DISTANCE1 undefined
2022-01-26 22:19:53 +01:00
Flyinghead
e1038ea632
naomi2: fix regressions. 2-volume and bump mapping support WIP
...
optimize open gl uniforms
2022-01-26 22:15:10 +01:00
Flyinghead
8947100701
libretro: missing new param to gl4GetProgram
2022-01-25 15:43:30 +01:00
Flyinghead
cb99e7d920
naomi2: do T&L on the gpu. bypass TA format. env mapping.
...
fix model/instance/matrix parsing
handle culling reversed model flag
geometry shader for near plane clipping
2022-01-25 15:37:04 +01:00
Flyinghead
b048921c11
naomi2: fix clipping, parallel light direction, reset state on loadstate
2022-01-18 18:25:40 +01:00
Flyinghead
4335aa563f
naomi2 WIP
2022-01-16 22:41:42 +01:00
Flyinghead
62ec3546d6
dx11: uwp doesn't need texture conversions
2022-01-16 10:37:55 +01:00
Flyinghead
8bb0bd05f9
ui: limit scaling further on small low-resolution screens (retroid)
2022-01-16 09:58:33 +01:00
Flyinghead
e538242962
dx11: convert 16-bit textures to 32 bits on windows7
...
1555, 4444 and 565 aren't supported on win7
Issue: https://github.com/libretro/flycast/issues/1123
2022-01-16 09:54:39 +01:00
github-actions[bot]
d70d2ad405
Fetch translations & Recreate libretro_core_options_intl.h
2022-01-14 22:21:28 +00:00
Julien Reichardt
4f638f6d77
Use service button instead of coin
...
The service button can also be used to add coins.
2022-01-11 14:09:54 +01:00
Julien Reichardt
80d78705b0
Add default coin mapping
2022-01-10 12:13:14 +01:00
github-actions[bot]
140cec7c59
Fetch translations & Recreate libretro_core_options_intl.h
2022-01-07 22:20:58 +00:00
scribam
746b3c5a54
sdl: fix joystick rumble
2022-01-06 08:59:39 +01:00
Flyinghead
a4788b5b24
zero-init sh4 context when no vmem is available
...
Issue #439
2022-01-03 18:44:47 +01:00
cmitu
8dcf0f58b5
postprocess: fix GLES2-only build
...
Added a missing `ifndef` guard for `glBindVertexArray`, useful for GLES2-only builds.
2022-01-02 10:51:03 +01:00
Julien Reichardt
a8080c5db3
Fix missing `libSDL2.a` static library on Linux
2022-01-01 18:29:46 +01:00
github-actions[bot]
a52977d1cf
Fetch translations & Recreate libretro_core_options_intl.h
2021-12-31 22:20:45 +00:00
Edward Li
0bb6fed822
Remove junk folder when packaging macOS app
2021-12-26 23:20:58 +01:00
Flyinghead
d86305a7c3
android: on-screen gamepad not editable in Open GL
...
Swap wasn't called during editing
Issue #464
2021-12-26 16:03:19 +01:00
Edward Li
5aeef17d09
macOS: Enable "New Instance" in File and Dock menu for SDL
2021-12-25 21:46:19 +01:00
Flyinghead
2d41d993e3
macOS: patch SDL to compile in metal and vulkan
...
https://github.com/libsdl-org/SDL/issues/5010
2021-12-25 21:45:13 +01:00
github-actions[bot]
503cc7ea97
Fetch translations & Recreate libretro_core_options_intl.h
2021-12-24 22:21:05 +00:00
Flyinghead
7f41847c5c
android: bigger on-screen gamepad analog handle. Update project README
2021-12-24 19:46:09 +01:00
scribam
fde683a82e
ci: cmake install for switch builds
2021-12-23 22:31:39 +01:00
scribam
4feff7d917
ci: add ccache for switch builds
2021-12-23 22:31:39 +01:00
asdf288
e61951a319
Fix typo in GLES2 library name
2021-12-23 22:31:25 +01:00
Flyinghead
da81274eb9
lr: gl stencil param isn't obsolete but required
...
Issue #454
2021-12-23 22:30:44 +01:00
flyinghead
8740141a93
Merge pull request #451 from flyinghead/net-rollback
...
Merge net-rollback branch
2021-12-23 11:21:29 +01:00