Commit graph

1554 commits

Author SHA1 Message Date
Asuka
b4df8e5cc6 remove invalid dispatch call 2020-05-05 01:02:10 +08:00
Asuka
ee112d00b5 implement commit cs stage 2020-05-05 00:31:19 +08:00
Asuka
a1b3f4ba9d invoke dispatch, fix various bugs 2020-05-05 00:30:55 +08:00
Asuka
4b62c32097 add VltComputePipeline implementation 2020-05-04 19:18:47 +08:00
Asuka
70812123d7 initialize compute shader gprs 2020-05-01 02:37:20 +08:00
Asuka
f02f665d85 initialize user data registers for shader 2020-05-01 01:40:27 +08:00
Asuka
f96ae5644f support more shader instructions
some ds read
some cmp
some movk
2020-04-29 00:02:36 +08:00
Asuka
c09ef421b4 treat RW buffer as SSBO 2020-04-28 11:35:43 +08:00
Asuka
f07a2463ff implement vector buffer store
not complete
2020-04-28 00:01:24 +08:00
Asuka
a7375581ce support more gcn instructions
fix data share write
2020-04-27 19:52:46 +08:00
Asuka
0cf8ac3485 implement ds write
not correct
2020-04-27 00:43:12 +08:00
Asuka
b2a903e378 declare shared data for compute shader 2020-04-25 04:54:45 +08:00
Asuka
1e893bf9ac add amd official header for shader reg field definition 2020-04-25 04:54:27 +08:00
Asuka
7c7df6e2a2 declare compute shader interface 2020-04-25 02:29:55 +08:00
Asuka
e9c7d0db1d track framebuffer reference count 2020-04-25 01:47:25 +08:00
Asuka
422d0cffcb begin translate compute shader
fix some DataShare instruction decoding
2020-04-23 23:19:51 +08:00
Asuka
fad2b46482 fix vector buffer load index 2020-04-23 01:33:57 +08:00
Asuka
45ae4cfa02 fix compiler bugs 2020-04-23 01:21:14 +08:00
Asuka
cfda996c43 Update GCNCompiler.cpp 2020-04-22 21:11:32 +08:00
Asuka
6843b0c6cb fix load type error 2020-04-22 00:21:54 +08:00
Asuka
85b4677c0b use float variable to hold all registers 2020-04-21 22:45:47 +08:00
Asuka
dc528b2b3b force selecting discrete GPU 2020-04-21 22:45:29 +08:00
Asuka
3f67c1fc2c fix various shader compiler bugs 2020-04-19 15:31:53 +08:00
Asuka
6940f10f70 fix compiler bugs 2020-04-17 00:40:22 +08:00
Asuka
984706be0f fix some compiler bugs
init exec
cast inline constant to correct type
2020-04-14 21:08:03 +08:00
Asuka
5c7019e505 enable depthBounds device feature 2020-04-14 00:26:07 +08:00
Asuka
bada3fb232 fix clear depth target 2020-04-13 23:45:10 +08:00
Asuka
f7f0a0775e replace embedded VsShader FullScreen 2020-04-12 10:46:27 +08:00
Asuka
2b045427e7 fix culling mode when using embeded shader 2020-04-12 09:49:55 +08:00
Asuka
2699464351 fix resource binding 2020-04-12 09:23:23 +08:00
Asuka
9077701a42 add setDepthStencilDisable 2020-04-12 09:23:10 +08:00
Asuka
d0123a2969 fix various shader compiler bugs 2020-04-12 07:16:36 +08:00
Asuka
007dc0f7ad fix zero spirv id 2020-04-10 00:16:31 +08:00
Asuka
bb371214c5 initialize pixel shader vgpr
not complete, can't compile
2020-04-09 01:39:55 +08:00
Asuka
8b41543c28 refactor some builtin variable declaration and initialization 2020-04-09 00:54:07 +08:00
Asuka
d4470f7217 generate more shader register fields 2020-04-09 00:53:18 +08:00
Asuka
c6c308ab15 support vector buffer load instructions 2020-04-06 03:44:35 +08:00
Asuka
b1423fff45 declare ssbo in shader compiler 2020-04-04 10:44:24 +08:00
Asuka
79e6f6686d support multiple shader buffers 2020-04-04 09:38:09 +08:00
Asuka
0900f68b9d clear shader context after draw call 2020-04-04 09:37:50 +08:00
Asuka
e2f4cef96e support more gcn instructions 2020-04-03 23:38:21 +08:00
Asuka
63b1811f90 support more gcn instructions 2020-04-03 00:51:53 +08:00
Asuka
296f8e65d1 support more gcn instructions 2020-04-02 00:16:56 +08:00
Asuka
edad61dca8 support more gcn instructions
wrap some repeated sgpr/vgpr functions into templates
2020-04-01 01:14:35 +08:00
Asuka
1c49f5b1aa support more gcn instructions 2020-03-31 00:44:21 +08:00
Asuka
cc231c9454 support more instructions
add more spirv instrucion support
fix gcn decoder missing feature
support more instruction translate
2020-03-30 01:50:52 +08:00
Asuka
c813a817c2 support more instructions
fix state registers access
2020-03-29 07:33:06 +08:00
Asuka
8de27db6f9 fix some instruction classes 2020-03-28 23:30:00 +08:00
Asuka
c68fc100ff fix some ds instruction classes 2020-03-28 23:10:30 +08:00
Asuka
129ee73cd6 auto generate instruction classes 2020-03-28 22:57:53 +08:00