pent0
941791b1d4
shader: Add glsl compiler.
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
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
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
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
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
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
pent0
7f36cf77c8
renderer: Fix depth stencil surface not caching.
2022-05-19 06:02:59 +02:00
pent0
583d5a940d
renderer: Implement partial force load.
...
- Does not support force load from memory. Use from stored FB.
Hope no game is crazy to make its own depth
2022-05-16 20:26:33 +02:00
pent0
ed3f126268
renderer: set test of sync(depth/stencil)data always enable.
...
- fix black screen ingame render on Muramasa Rebirth.
2022-05-15 07:50:25 +02:00
pent0
f09372ebef
renderer: Correct texture size of PVRT format.
2022-05-13 15:09:08 +02:00
pent0
45eedae9bf
renderer/gl: Use persistent mapped buffer for continous data streaming.
...
- orphan a buffer is much more inefficient. Improve perf a bit.
2022-05-12 14:13:11 +02:00
pent0
a8ec245f31
mem: Refactoring protect functions.
...
- Add way to lock protection and unprotect a callback region.
2022-05-12 11:44:05 +02:00
Macdu
f10af1f79f
modules/SceGxm: Handle consecutive calls to sceGxmDisplayQueueAddEntry
2022-05-09 02:44:20 +02:00
hobyst
e335a78e30
renderer & shader: Replace Microprofile with Tracy
2022-05-07 17:52:12 +02:00
Macdu
73af263c26
modules/SceGxm: fix array size for GxmContextState stream_data
2022-05-04 15:47:23 +02:00
Macdu
687e7ee263
modules/SceGxm: fix precomputed state always having max size
2022-05-04 04:32:28 +02:00
Zangetsu38
78bc76001c
renderer: add color format F32_R support.
2022-05-03 18:14:09 +02:00
Zangetsu38
e726e03923
shader: using self name for path of shaders cache.
2022-05-03 16:04:10 +02:00
pent0
cd7c970bf9
renderer/sync: Fix sync wait not wait all
2022-04-20 23:23:05 +02:00
pent0
972b0732df
Fix notification value being passed as pointer instead of copy.
...
- Because the desired value should be copied during EndScene, to assign to notification.
- This fix durara, f1 2011, tearaway, ffx(2), knyt underground and more...
2022-04-18 14:25:47 +02:00
bookmist
211c931b68
renderer: implement U10U10U10U2 color formats
2022-04-01 13:39:01 +02:00
pent0
3f162505c5
modules/SceGxm: fix handle precomputation when state is null.
2022-03-21 15:29:09 +01:00
bookmist
5a76b76e18
renderer/gl/draw: fix some warnings
2022-03-17 06:16:05 +01:00
Zangetsu38
77fd8e8f78
project: run format.
2022-03-16 02:11:11 +01:00
Sergi Granell
bbd110e47e
gxm: split public SceGxm types and internal+opaque SceGxm types
2022-03-16 07:57:54 +07:00
pent0
166cdfecb1
modules/SceGxm: Set the avg scenes par frame in DisplayQueueAddEntry.
2022-02-25 14:50:05 +01:00
pent0
0f6df27e7d
renderer: Fix texture cache timestamp not updated
...
Who deleted it?
2022-02-25 14:49:43 +01:00
Zangetsu38
d59a044399
shaders: split shaders cache to shaderlog.
2021-12-29 16:13:03 +01:00
Zangetsu38
5d1469fec6
settings dialog: Add option for can disable pre-compile shaders cache.
2021-12-29 00:21:50 +01:00
Zangetsu38
0507b45400
shader: implement pre-compile shader.
...
gui/shaders compiled: Add progress bar durring pre compile shader.
io: remove useless create shaderlog folder.
gui/app context menu: remove shaderlog path and move shaders cache in good path.
2021-12-24 12:17:51 +01:00
Zangetsu38
29a15b4ecc
gui: display last shaders count compiled.
2021-12-23 17:02:52 +01:00
hobyst
b058c745fb
renderer: Fix Clang memory issue due to optimizations
2021-12-23 13:58:30 +01:00
hobyst
0440adde6e
renderer: Fix PVRTII decomp memory issue
2021-12-23 13:58:30 +01:00
sunho
5e00fab1fa
renderer: correct untyped attribute check
2021-12-11 11:28:30 +01:00
Zangetsu38
2423d94dd4
renderer/batch: small improvement of process batch.
...
- prefer using avg scene per frame when is used.
2021-12-11 11:27:42 +01:00
Zangetsu38
697ee9f0de
renderer/texture formats: remove warn of TEXTURE_BASE_FORMAT_SE5M9M9M9.
2021-12-09 01:16:52 +01:00
pent0
cf44b91a54
renderer: Implement surface cache.
2021-12-07 15:23:32 +01:00
pent0
680c821881
renderer: Fix depth and stencil clear limited to scissor on context set
2021-12-07 14:32:22 +01:00
Zangetsu38
e417b194a5
texture formats: fix return value of TEXTURE_ADDR_MIRROR_CLAMP.
...
- opengl 4.3 should be compatible with this value.
2021-12-06 06:00:32 +01:00
Zangetsu38
45b4d52193
renderer/batch: fix process queue of command list.
...
- should fix speed on game locked in low frame speed.
2021-12-06 05:07:41 +01:00
Larry
7f679634ed
modules/SceGxm: Add first step cube texture support.
2021-11-30 06:17:37 +01:00