Asuka
5a262e90ed
use visual studio's clang-cl
2022-03-06 06:33:31 +08:00
Asuka
77b5a83a1b
remove useless condition
2021-02-20 16:12:38 +08:00
Asuka
a7b60a01d3
fix pthread4w's bug when using clang-cl
...
clang-cl can't recognize .CRT$XCU sections, causing some init/post code not executed.
we use __attribute__((constructor)) and __attribute__((destructor)) instead
2021-02-20 16:09:42 +08:00
Asuka
a819e1d2f9
configure spdlog to use header-only-mode
2021-02-20 10:36:13 +08:00
Asuka
15d5f018aa
update spdlog version
2021-02-20 10:35:40 +08:00
Asuka
26bcde3557
fix compile warnings
2021-02-19 16:29:28 +08:00
Asuka
2f526ffa6b
use clang compiler for 3rdParty libraries
2021-02-19 15:49:26 +08:00
Asuka
dbc129268c
remove useless comparisons
2021-02-19 15:47:30 +08:00
Asuka
9cedf14a74
use __attribute__((optnone)) instead of pragma optimize when built with clang
2021-02-19 15:46:50 +08:00
Asuka
afaa5a3848
add ifndef to prevent macro redefinition
2021-02-19 15:45:53 +08:00
Asuka
bd9d1d22c4
use external clang-cl instead of VS bound version
2021-02-19 14:55:47 +08:00
Asuka
2cb81156a1
disable spectre mitigation
2021-02-19 11:45:15 +08:00
sgqy
f01f3f51d4
Merge pull request #81 from smitdylan2001/patch-1
...
fix typo
2020-11-02 20:49:16 +08:00
Dylan Smit
1135ac4e8d
Really important PR
...
Really important, if not important enough feel free to close the PR.
2020-11-01 22:27:20 +01:00
Asuka
ef163f5119
fix compile
2020-10-02 18:10:38 +08:00
Asuka
99071da0e1
disable spectre
2020-10-01 17:58:39 +08:00
Asuka
5d756a3b5f
continue implement memory monitor
...
not working correctly yet
2020-07-03 00:56:30 +08:00
Asuka
585017de77
continue GnmMemoryMonitor
2020-07-02 01:32:41 +08:00
Asuka
1cde801bb6
first step to implement memory monitor
2020-06-30 00:47:21 +08:00
Asuka
c4768ce0e9
fix texture flag
2020-06-24 11:22:53 +08:00
Asuka
908b941d67
fix texture decode and upload
2020-06-22 11:34:55 +08:00
Asuka
f1647c510c
try to upload texture in cache
...
not complete
2020-06-21 02:45:43 +08:00
Asuka
cc2cc21cd8
update some buffer within buffer cache
2020-06-21 02:08:05 +08:00
Asuka
f655ac8847
fix assert for index buffer
2020-06-21 01:34:56 +08:00
Asuka
acfc0c8d52
fix texture extent
2020-06-21 01:31:14 +08:00
Asuka
9b32db43c0
user GnmCacheManager instead of old GnmResourceFactory
2020-06-17 00:49:46 +08:00
Asuka
a6033af1a1
add VltContext to cache constructor
2020-06-17 00:06:00 +08:00
Asuka
6838693c31
implement GnmCacheManager
2020-06-16 23:55:22 +08:00
Asuka
a17dc419ea
implemented sampler cache
2020-06-16 11:50:13 +08:00
Asuka
1ae60e60e2
partly implemented texture cache
2020-06-16 11:37:39 +08:00
Asuka
5c0ff6444e
unify all image creation
2020-06-15 15:14:35 +08:00
Asuka
08c68966ca
fix buffer cache implementation
2020-06-12 11:44:19 +08:00
Asuka
736db7f952
delete GnmMemoryFlag
2020-06-12 00:50:19 +08:00
Asuka
cd3ecd5e19
fix buffer creation
2020-06-11 11:46:49 +08:00
Asuka
e38d1eaeb8
add some cache implementation, not complete
2020-06-11 00:13:41 +08:00
Asuka
5a653b9d5a
Merge branch 'nier' of https://github.com/Inori/GPCS4 into nier
2020-06-09 12:09:42 +08:00
Asuka
17ef006db5
fix compile
2020-06-09 12:09:36 +08:00
Asuka
ca6abefec0
fix compile
2020-06-09 11:13:50 +08:00
Asuka
4d7117bb85
implement base cache framwork
2020-06-08 22:47:06 +08:00
Asuka
3058216ba5
add memory monitor
2020-06-08 15:09:00 +08:00
Asuka
47dc7c4d4a
add GnmResourceMemory definition
2020-06-01 23:53:55 +08:00
Asuka
f1fd4857c1
delete some code
2020-05-20 20:37:58 +08:00
Asuka
c4dcd7b44d
add a SortedList class
2020-05-15 00:10:11 +08:00
Asuka
17c704c7f5
create resource cache
...
not complete
2020-05-14 00:16:05 +08:00
Asuka
4da07c856b
reform code style
2020-05-13 22:44:25 +08:00
Asuka
eab0d801f9
use one TLSManager for all platform
2020-05-13 11:43:23 +08:00
Asuka
3c166bb11e
implement cross platform exception handling
...
basic implementation
2020-05-13 00:19:37 +08:00
Asuka
7052be6756
reform util methods
2020-05-12 22:50:16 +08:00
Asuka
6672ddcc68
support single vertex buffer binding
2020-05-10 05:12:45 +08:00
Asuka
1f75f939a3
add some debug code
2020-05-08 01:19:20 +08:00