Commit graph

2270 commits

Author SHA1 Message Date
sunho
113f1b6e7d kernel: add cpu instance pool 2021-02-20 20:08:28 +01:00
sunho
8c29cef588 cpu: add thread_id getter/setter 2021-02-20 20:08:28 +01:00
sunho
1383c09e01 kernel: call_svc can be defined in modules 2021-02-20 20:08:28 +01:00
sunho
b7aef13d54 util: add pool class 2021-02-20 20:08:28 +01:00
pent0
872d74a2b9
Merge pull request #1158 from pent0/kkdd
Implement instancing and handle stripped symbols shader
2021-02-21 00:25:05 +07:00
bookmist
2c206f7a86
util: Support f32 to f16 conversion even without AVX+F16C (#1084)
Check if AVX+F16C is suported at run-time and use appropriate conversion function.
2021-02-20 17:15:47 +01:00
Pedro Montes Alcalde
b053930dea
Use SAFETIME on new code (#1162) 2021-02-20 16:51:46 +01:00
bookmist
ceaf8603ca
modules/SceCommonDialog: fix unexpected random stucks and other misprints (#1160) 2021-02-20 16:51:04 +01:00
Pedro Montes Alcalde
5d188c6fbe
io/device: Make get_device work if it is all uppercase and delete extra device path if request. (#1156) 2021-02-20 10:10:59 +01:00
mangren
ea371b1bef shader: Handle stripped symbols shader 2021-02-19 21:01:49 +07:00
mangren
0b41fa7e9a gxm: Handle and implement instancing 2021-02-19 21:01:38 +07:00
Zangetsu38
847ee5f296 modules/SceNpTrophy: complete implement Get(Game/Trophy)Info. 2021-02-18 20:53:12 +01:00
Zangetsu38
a01c8fe017 gui: refactor pkg install. 2021-02-17 21:09:49 +01:00
Zangetsu38
4029c93da3 interface: fix log name for archive log. 2021-02-17 21:09:39 +01:00
bookmist
2557ebd81e kernel: proper initialisation of thread local storage 2021-02-17 08:36:18 +01:00
bookmist
7a17f83b6a modules/sceLibKernel: _sceKernelGetThreadInfo. fix stack pointer 2021-02-17 08:36:18 +01:00
bookmist
94c6df98e6 kernel: Clear TLS on first get
Fix unvalid memory read on LLE libUlt.suprx
2021-02-17 08:36:18 +01:00
bookmist
e512fc92f8 io/io New flag to enable or disable trace logging of file operations 2021-02-17 08:36:18 +01:00
bookmist
239255dc06 io/io Conventional error instead of crash in case of invalid file descriptor 2021-02-17 08:36:18 +01:00
mangren
63e16f7f2c gl/sync_state: fix sync_cull. 2021-02-16 19:17:03 +01:00
Nicolas Jallamion
6550462637
gui: some small fix. (#1147) 2021-02-16 16:26:03 +01:00
Pedro Montes Alcalde
082f7a867d
gxm: Implement sceGxmProgramIsEquivalent. (#1146) 2021-02-16 13:05:47 +01:00
Zangetsu38
c6a21685cf modules/gxm: implement sceGxmTextureSet(LodBias/LodMin).
gl/texture: set glTexParameter(f/i) for GL_TEXTURE_(MIN_LOD/LOD_BIAS).
2021-02-16 13:03:32 +01:00
sunho
63fafd88e5 modules/SceFiber: implement _sceFiberAttachContextAnd(Run/switch) 2021-02-16 12:18:55 +01:00
mangren
ec1a39ca5f renderer: Resync some states when viewport flip changes 2021-02-16 10:21:36 +01:00
mangren
e61594c38d gxm: Remove compability features for handwritten shader 2021-02-16 10:21:36 +01:00
mangren
2cebd902c1 shader: Only multiply flip vec with viewport enable
fix weird issues with viewport disabled game not working with hardware flip
2021-02-16 06:07:18 +01:00
mangren
9741af899f renderer: Use shader translator's attribute location and use right function to supply vertex data 2021-02-16 06:07:18 +01:00
mangren
5f113bdd2a shader: Add location decorator for each input attribute
rules are linear allocation, each variable has size in float unit aligned to 4
2021-02-16 06:07:18 +01:00
mangren
0ae88f9788 gxm: Set viewport enabled by default 2021-02-16 06:07:18 +01:00
mangren
dfc9695f62 renderer: Don't set viewport enable/disable when setting viewport params only 2021-02-16 06:07:18 +01:00
bookmist
0d4fc49b8e
modules/SceAvPlayer: implement event callback and stub some functions (#1138) 2021-02-15 12:25:40 +01:00
Nicolas Jallamion
2438552458
texture/gl: Fix borked optimization attempt (#1140)
- The attempt to round up bit-width to nearest 8 did not work due to poor bracket placement

Co-authored-by: kd-11 <karokidii@gmail.com>
2021-02-10 15:12:17 +07:00
scribam
5e3a6eb982
Update submodules + minor changes (#1137)
* cmake: Add NOMINMAX globally to avoid Windows compilation issues with std::min/std::max

* main/net: add missing include files

* rtc: Remove convert_filetime/convert_timespec functions as they have been replaced with _wstat/stat

* external: Update better-enums to tag "0.11.3"

* external: Update CLI11 to tag "v1.9.1"

* external: Update elfio to tag "Release_3.8"

* external: Update glad to tag "0.1.34"

* external: Update googletest to tag "release-1.10.0"

* external: Update imgui to tag "v1.80"

* external: Update imgui_club

* external: Update miniz to tag "2.1.0"

* external: Update pugixml to tag "v1.11.4"

* external: Update spdlog to tag "v1.8.2"

* external: Update stb

* external: Update yaml-cpp to tag "yaml-cpp-0.6.3"

* external: Switch to vitasdk/vita-toolchain

* external: Refactor xxHash integration
2021-02-09 21:49:54 +01:00
1whatleytay
2f2fc4430c
vita3k: use thread-safe gmtime and localtime (#1080) 2021-02-09 04:44:52 +01:00
Zangetsu38
48daafb6bf gui/settings dialog: Add option for disable video player. 2021-02-08 22:09:32 +01:00
Zangetsu38
9be8d5b153 renderer: Add color format U2F10F10F10_ABGR and fix two other. 2021-02-08 21:28:18 +01:00
Nicolas Jallamion
cf510e4cd8
modules/SceGxm: implement both PrecomputedStateSetAllUniformBuffers. (#1134) 2021-02-08 20:35:32 +07:00
Nicolas Jallamion
1e2f6a614d
modules/SceDisplay: Add check error for value resolution. (#1127) 2021-02-07 16:35:58 +07:00
mangren
1159952df7 shader: Implement built in VertexID and InstanceID 2021-02-07 10:19:38 +01:00
scribam
4ca67af2f8 SceGxm: Add minor error checks 2021-02-06 22:41:28 +01:00
scribam
f7ca53f2b8 SceNpTrophy: partial implementation of sceNpTrophyGetGameInfo and sceNpTrophyGetTrophyInfo 2021-02-06 17:36:23 +01:00
Zangetsu38
fa3e9b2027 modules/SceGxm: Implement both DefaultUniformBuffer function. 2021-02-06 14:58:57 +01:00
scribam
f5f2b486af kernel: Update SceKernelThreadInfo structure 2021-02-06 13:42:20 +01:00
mangren
5db2eba4a0 modules/SceGxm: Initialise background texture of color surface 2021-02-06 08:05:16 +01:00
mangren
986a4302a2 shader/translator: Fix wrong source bits in smp 2021-02-05 23:03:23 +01:00
mangren
949b1801b1 shader: Correct buffer load base offset
Fill in a missing field, collected from analysing multiple shaders
2021-02-05 23:03:23 +01:00
mangren
4223989e63 shader: Correct source number of VDP and VMAD
Also the predicates translation
2021-02-05 23:03:23 +01:00
mangren
6a4a57ee50 shader: Correct predicates of Non-mad instruction
They seems to use custom
2021-02-05 23:03:23 +01:00
mangren
933277adc9 shader: Correct mask write f32 2021-02-05 23:03:23 +01:00