Commit graph

1256 commits

Author SHA1 Message Date
pent0
941791b1d4 shader: Add glsl compiler. 2022-05-31 00:12:16 +02:00
sunho
df1378486d shader: support regformat vertex attributes. 2022-05-31 00:12:16 +02:00
pent0
f803e61520 shader: Assume 0 means integral type
- How it samples depends on the active texture type.
  So fix some games.
2022-05-30 23:46:57 +02:00
pent0
48ddae8c28 renderer: Fix proj typo and stenciling ref got removed.
- And leftover image bindings
2022-05-30 23:46:57 +02:00
pent0
764342b6e4 renderer: Add depth-stencil surface cache sampling and U32U32 texture surface. 2022-05-30 23:46:57 +02:00
pent0
b7256ff275 shader: Correct buffer copy to register offset. 2022-05-30 15:14:06 +02:00
pent0
fae2ad163b renderer: Preserve f16f16f16f16 surface data as u16u16u16u16.
- Some drivers clamped the value nan and the data lost meaning
2022-05-30 15:01:09 +02:00
Zangetsu38
50f12efeb2 shader/spirv recompiler: handle default sampler value when no exist. 2022-05-30 14:43:57 +02:00
pent0
f6c3420984 renderer: Fix wrong color sourcing from surface cache. 2022-05-30 14:16:19 +02:00
Macdu
4071eb35c6 modules/SceGxm: Fix sceGxmDestroyContext 2022-05-30 02:06:48 +02:00
Macdu
071bbcf1c0 renderer: Fix renderer for mesa drivers 2022-05-30 02:06:48 +02:00
Macdu
1cf2ef303b display: Start vsync thread during boot 2022-05-30 01:17:42 +02:00
pent0
5fb2c75fc4 renderer/surface cache: fix order of write surface stored.
Add some glTexParam and more..
- should fix black screen of gravity rush.
2022-05-29 21:37:22 +02:00
pent0
20623a8fcf renderer: Let sync_texture handle swizzle set
- Fix mages vn
2022-05-29 21:06:57 +02:00
pent0
33a44568e4 renderer/gl/color formats: Add few base format and Swizzle(3/2)Mode. 2022-05-29 18:42:48 +02:00
Macdu
7736233ebe shader: Fix VMAD dest repeat 2022-05-29 01:18:48 +02:00
pent0
5daad41fe9 renderer: improve render frame from surface cache.
renderer: Fix special converse format cause sigsegv.
- We must reserve temporary storage for it!
2022-05-28 20:45:02 +02:00
pent0
c1070472b9 renderer: Add mechanism to syncing color surface depends on access. 2022-05-28 11:56:59 +02:00
Macdu
c167144fa9 renderer: SCE_GXM_TEXTURE_BASE_FORMAT_U8 can be unswizzled without decode 2022-05-27 18:20:44 +02:00
pent0
bd58da2649 modules/SceGxm: Correct implement sceGxm(Un)MapMemory.
- fix calculate upload size on gxmSetUniformBuffers.
2022-05-27 16:53:08 +02:00
Macdu
055d2d9321 shader: Handle 16-bit bitwise instructions 2022-05-27 16:47:23 +02:00
pent0
4d4bacac80 shader/gxp parser: Set default sampler and stripped symbols.
- should fix crash to allow ingame of DQB and Durara relay.
2022-05-27 15:43:12 +02:00
pent0
c399dcb00e renderer/gl: Reuse the cached surface if available and support casting.
Move screen render to renderer module. It does not make much sense to be in app module now.
2022-05-27 14:38:44 +02:00
Macdu
2791bc3eed shader: Fix i16mad 2022-05-26 21:55:51 +02:00
Macdu
9889c472a9 kernel: better handling of thread priority and mask affinity 2022-05-25 15:23:21 +03:00
Zangetsu38
e39015ff34 modules/SceAppUtil: small refactor of SafeMemory func.
io: clean code unneeded in open file.
2022-05-25 13:01:21 +02:00
Macdu
b908f9a32e modules/SceAudiodec: Return error when decoding fails 2022-05-24 16:59:22 +02:00
Macdu
aa65dc2391 external, ngs: Remove playback_rate and soundtouch 2022-05-24 16:59:22 +02:00
Macdu
14cc5604b8 ngs: Fix player modules behavior 2022-05-24 16:59:22 +02:00
Macdu
d1dfdd7b1c ngs: Better handling of voice state 2022-05-24 16:59:22 +02:00
Zangetsu38
8a40b19e5f io: fix open file when create flag is not here.
modules/SceAppUtil: fix open file flag.
2022-05-23 15:41:06 +02:00
Zangetsu38
edf82c4277 modules/SceAppUtil: Implement SceAppUtil(Load/Save)SafeMemory.
- Allow Escape plain go to playable.
2022-05-23 13:50:52 +02:00
Zangetsu38
ffa66d88de ngs: stub voice definition of Buss Scream(Player/At9). 2022-05-21 15:27:47 +02:00
Macdu
1658c62e31 ngs: Fix parse_params and add missing checks 2022-05-21 14:28:33 +02:00
Macdu
b0cbdea184 ngs: Implement new functions 2022-05-20 19:39:46 +02:00
pent0
639a1aeaf3 shader: Fix INTERNAL2 source and source mask for VDP. 2022-05-20 10:57:12 +02:00
pent0
6b4832ded8 shader: Implement I16MAD for spir-v. 2022-05-20 10:57:12 +02:00
pent0
58808c9c59 shader/branch cond: Fix typo of OpINotEqual. 2022-05-20 10:57:12 +02:00
Zangetsu38
28c9acd5e5 modules/SceCommonDialog: Add system msg type NOSPACE CONTINUABLE.
- Request by minecraft.
2022-05-19 18:40:02 +02:00
pent0
01b23ec9e5 shader/alu/dual: Adjust config 3 layout of dual.
- Based on some tests that is visible on assasin's creed chronicles.
  All 3 text shaders all have src_config = 3. And it uses internals1 x unified.
2022-05-19 14:41:17 +02:00
pent0
7f36cf77c8 renderer: Fix depth stencil surface not caching. 2022-05-19 06:02:59 +02:00
Macdu
fc66f1514a ngs: Fix get_buffer_parameter 2022-05-19 02:20:52 +02:00
Macdu
b289ad9056 ngs: Fix softlock happening when calling update 2022-05-19 00:58:17 +02:00
Macdu
8cf0baa7d4 modules/sceLibKernel: remove wrong assert in sceKernelCreateTimer 2022-05-19 00:46:59 +02:00
pent0
498cd0ae32 shader: Fix source load comp count not matching dest mask.
- Just use it right away on vector operation
2022-05-18 23:41:40 +02:00
Macdu
71df446f34 ngs: Fix VoiceState and sceNgsVoiceKeyOff 2022-05-18 23:18:25 +02:00
bookmist
b49b56081b kernel/tracy: set guest thread names 2022-05-18 22:22:13 +03:00
Zangetsu38
3dc86a6b6f gxm/texture: Add U8U8U8U8_(RGBA/BGRA) on convert color to tex format. 2022-05-17 22:13:47 +02:00
Macdu
f8901d947b modules/SceAudio: Implement SceAudio functions 2022-05-17 03:57:11 +02:00
Zangetsu38
cf24c27dfd vita3K: bump version to 0.1.5 2022-05-16 23:08:16 +02:00