Commit graph

1554 commits

Author SHA1 Message Date
Asuka
247b64cf51 first step to support dedicated compute queue 2022-05-08 04:20:04 +08:00
Asuka
4f6f202176 fix V_SAD_U32 2022-05-07 06:37:25 +08:00
Asuka
e6f855245b do not download render targets 2022-05-07 04:39:46 +08:00
Asuka
8aa0b65a50 some compiler fixes
fix V_SAD_U32 when integer overflow
fix format buffer load
2022-05-07 04:13:11 +08:00
Asuka
eb704c8af4 improve cs setup 2022-05-06 05:34:59 +08:00
Asuka
502df1e872 use single buffer lookup and create function 2022-05-06 03:16:58 +08:00
Asuka
03682d92d9 fix some compiler errors 2022-05-05 19:35:12 +08:00
Asuka
e73871029b fix dynamic depth bound test 2022-05-05 04:08:46 +08:00
Asuka
bf4f1332d1 implement render target clear 2022-05-05 03:57:24 +08:00
Asuka
3c494bd0f6 fix framebuffer ops and clear values 2022-05-05 01:04:23 +08:00
Asuka
0153021870 fix cube map sampling and ps semantic mapping 2022-05-04 07:00:40 +08:00
Asuka
d4b3418f6a adjust opstring layout position 2022-05-03 09:01:45 +08:00
Asuka
e911146499 support shader debug printf 2022-05-03 08:17:57 +08:00
Asuka
fd70bdeb28 support lds 2022-05-03 06:32:27 +08:00
Asuka
28e248ce06 more gcn instructions 2022-05-02 08:27:22 +08:00
Asuka
5e6cceb2c6 more gcn instructions 2022-05-01 10:04:52 +08:00
Asuka
5e73a7018a implement cube instruction 2022-05-01 06:06:54 +08:00
Asuka
5436ca195c introduce GnmInitializer
support multi layer and miplevel textures
2022-05-01 02:40:32 +08:00
Asuka
517e05976c more gcn instructions 2022-04-30 22:27:03 +08:00
Asuka
6ddd3fec28 setup debug messenger 2022-04-30 21:04:39 +08:00
Asuka
0bbc04975f implement basic pad using direct input 2022-04-30 07:46:50 +08:00
Asuka
e4e12c55ac support basic compute shader 2022-04-30 05:44:20 +08:00
Asuka
6f34e3a941 support vector buffer load/store 2022-04-30 02:38:35 +08:00
Asuka
e8f12b4e4b remove cfg generator code
clean master branch, move cfg related code to shader_cfg branch
2022-04-29 04:59:04 +08:00
Asuka
8613c4e4be support basic branch instruction 2022-04-29 04:25:00 +08:00
Asuka
a68d5edf82 add empty framework for cfg generation 2022-04-29 03:16:02 +08:00
Asuka
5372b3df02 add bgl and dependencies for future use 2022-04-28 19:15:05 +08:00
Asuka
3ac64ca2b2 implement more instructions 2022-04-28 05:31:53 +08:00
Asuka
67442ae29d run basic_quad again 2022-04-27 21:51:42 +08:00
Asuka
aba9388061 fix some validation errors 2022-04-27 04:56:33 +08:00
Asuka
5f4a2274c9 support more gcn instructions 2022-04-27 03:17:52 +08:00
Asuka
f48e499e15 remove zydis dependency from tinydbr 2022-04-26 18:17:44 +08:00
Asuka
093ff42a29 support V_MAC_F32
fix buffer load issue
update windows sdk version
fix zydis dependency
fix warnings
2022-04-26 17:22:49 +08:00
Asuka
9fce2d90f7 fix fetch shader address error 2022-04-26 06:00:35 +08:00
Asuka
f939cc69cd support mrt ouput
fix some spirv-val errors
2022-04-26 04:59:58 +08:00
Asuka
5a8a41be24 implement scalar buffer load 2022-04-26 03:35:20 +08:00
Asuka
beb92204c4 fix some spirv validation errors 2022-04-26 00:07:55 +08:00
Asuka
8f267e439f implement part of gpr initialize 2022-04-25 23:23:47 +08:00
Asuka
3f797d412a allow short case statement in one line 2022-04-25 07:13:04 +08:00
Asuka
73bddae9e1 support various instructions and vertex shader ouput 2022-04-25 04:39:49 +08:00
Asuka
9232406a10 support vop3 input/output modifier 2022-04-24 20:24:16 +08:00
Asuka
c2a9d36ddc Merge branch 'master' of https://github.com/Inori/GPCS4 2022-04-24 06:35:38 +08:00
Asuka
a6785bddfd implement some framework for gcn compiler 2022-04-24 06:33:54 +08:00
Pablo Ibarz
f7ae6a40d0
Updated Doc/ with grammar fixes (#120)
* Update CodeStyle.md with more grammar

I'm trying to get into this project, just noticed some grammar jank with the dev instructions so I thought I'd fix a few while reading the file.
Might look over the other files too.
This ruleset is strict, but this project which will force me to code a bit less like a stream of vomit if I end up working on it so that's good.

* Update ModuleSystem.md

* Update DeveloperGuide.md

* Update CodeStyle.md

Co-authored-by: Asuka <bingkan@outlook.com>
2022-04-24 04:28:10 +08:00
Asuka
fd8cad62de implement declare resource in gcn compiler 2022-04-23 06:57:26 +08:00
Asuka
96940f8915 add some gcn compiler functions 2022-04-22 02:38:13 +08:00
Asuka
9c412eb63e support create storage image 2022-04-21 04:28:08 +08:00
Asuka
78bcafee7f update comments 2022-04-21 04:07:28 +08:00
Asuka
aeb4c26659 implement texture and sampler binding 2022-04-21 04:02:27 +08:00
Asuka
680e584591 bind vertex buffer 2022-04-20 22:22:16 +08:00