Commit graph

1554 commits

Author SHA1 Message Date
Asuka
59d9ecd3e2 ignore 2019-10-02 23:03:52 +08:00
Asuka
ae5e9fade5 Dummy support VCC mov 2019-10-01 23:54:44 +08:00
Asuka
d736930814 Add literalConst param to emitLoadScalarOperand 2019-10-01 23:22:14 +08:00
Asuka
28ef5cc617 Remove useless code 2019-10-01 22:52:59 +08:00
Asuka
2704ef787f Support S_MOV_B32 2019-10-01 22:51:46 +08:00
Asuka
be30d30155 refactoring reg load and store code 2019-10-01 22:51:30 +08:00
Asuka
fd996c2d79 Add GcnRegSwizzle and GcnRegMask class 2019-10-01 22:50:21 +08:00
Asuka
fc54318c51 Add VectorGPRMin and VectorGPRMax define 2019-10-01 22:50:06 +08:00
Asuka
b9cb9df02b Add LdsDirect field, Add operand defination in Instruction class 2019-10-01 22:49:49 +08:00
DummyCatz
401c43dc6e fix incorrect image PLT RELA size
- Fix a bug caused by incorrect PLT RELA size.
- Clean up codes
2019-10-01 17:57:25 +08:00
Asuka
eefc353789 ignore 2019-10-01 00:30:33 +08:00
Asuka
8d9aaa08a5 Use union for exec and vcc 2019-10-01 00:30:26 +08:00
Asuka
3e93d8e63d emulate fetch shader 2019-09-30 19:48:19 +08:00
DummyCatz
1fb2cb5f37 Update symbol parsing 2019-09-30 13:17:33 +08:00
DummyCatz
c03c49e982 Add codes for relocation
- Code refactoring
- Codes for relocation
2019-09-29 23:49:38 +08:00
Asuka
eea2b45da9 Merge branch 'master' of https://github.com/Inori/GPCS4 2019-09-29 23:37:42 +08:00
Asuka
2825de9bd9 ignore 2019-09-29 23:37:33 +08:00
Asuka
76b04ae2f5 move shader compile to draw 2019-09-29 23:37:26 +08:00
Asuka
8c708051bd Reform some functions 2019-09-29 23:37:07 +08:00
DummyCatz
5e373ec279 Update module system and loader
- Add some test codes, which should be removed after finishing the new module system.
- Add a new overridability level to the module system, which allows specifying which file we allow to load.
- Add export module and export libray table to the MemoryMappedModule.
- Fix typos.
2019-09-28 13:43:05 +08:00
DummyCatz
f7dc0edf1b wip on linker&loader
work in progress on linker and loader. the code has not been tested.
2019-09-28 10:34:56 +08:00
Asuka
223236124b Add GCNAnalyzer 2019-09-27 12:05:59 +08:00
Asuka
0e5cf40196 Save bytecode to GveShader and dump spv bytecode 2019-09-27 11:41:27 +08:00
Asuka
ee0711f5cc Add state register declare 2019-09-26 23:54:07 +08:00
Asuka
3cf3e429d1 Add main function and entrypoint genrerator code 2019-09-26 23:49:41 +08:00
DummyCatz
abd9c35042 Update module system
- New implementation of three level override mechanism.
- Add RegisterFunction() to register function before/after initialization.
2019-09-26 23:04:29 +08:00
Asuka
9e77073ea4 Add some shader compiler init code 2019-09-26 21:01:41 +08:00
DummyCatz
12d8057aa5
Update SceModuleSystem.cpp
comment out some code style violations.
2019-09-26 12:50:01 +08:00
Asuka
2dfcff4545 Merge branch 'master' of https://github.com/Inori/GPCS4 2019-09-26 11:41:37 +08:00
Asuka
4ec5220c5a Update CodeStyle.md 2019-09-26 11:41:28 +08:00
Asuka
3c584644eb Update GnmCommandBufferDraw.cpp 2019-09-26 00:07:32 +08:00
Asuka
47c706097e Update GCNCompilerScalarALU.cpp 2019-09-26 00:00:35 +08:00
DummyCatz
9df0b0ba8b add defination for memory mapped modules 2019-09-25 23:23:17 +08:00
DummyCatz
44a71fabb7 update SceModuleSystem
update module system to allow module/library/function level override
2019-09-25 23:02:34 +08:00
Asuka
9ce67ebdd4 Get shader bytecode again, prepair to translate 2019-09-25 19:52:14 +08:00
Asuka
7575f2f197 Delete useless code 2019-09-25 00:08:02 +08:00
Asuka
2a311b85ad rename context begin end function name 2019-09-25 00:07:45 +08:00
Asuka
f7c568ea06 Fix swapchain create bug 2019-09-25 00:07:26 +08:00
Asuka
fe6058fc16 Update CodeStyle.md 2019-09-24 23:43:19 +08:00
Asuka
13ce17a338 Update CodeStyle.md 2019-09-24 23:42:42 +08:00
Asuka
cf0bd7bd32 Command buffer begin end 2019-09-24 23:36:20 +08:00
Asuka
c15d9af1c3 Adjust gve context creation 2019-09-24 23:04:55 +08:00
DummyCatz
f46f5f43a1 Update UtilMemory.h
Add a custom deleter for unique_ptr for unmaping mapped memory when the unique_ptr goes out of scope.
2019-09-24 23:00:52 +08:00
Asuka
7882c2aa3c Delte useless code 2019-09-24 20:40:49 +08:00
DummyCatz
681e6991e0 update README.txt 2019-09-24 19:56:39 +08:00
Asuka
c748b999f7 create context to handle gnm command 2019-09-24 16:31:51 +08:00
Asuka
9f524b04f9 Update CodeStyle.md 2019-09-24 11:53:42 +08:00
Asuka
122e3be7ae Little change, ignore 2019-09-23 23:42:41 +08:00
Asuka
e579c007c9 Add swapchain image and imageview routines 2019-09-23 22:38:01 +08:00
Asuka
e552cc28a6 Fix typo 2019-09-23 22:22:53 +08:00