Commit graph

1326 commits

Author SHA1 Message Date
Inori
52c115e489 Change all variable to global
Spirv ask all local variable must be defined at function start, like C language, that's hard to keep.
2019-10-11 21:05:33 +08:00
Asuka
2e8388944f Fix a lot of type error
Checked using spirv-val.exe
2019-10-11 19:35:36 +08:00
Asuka
230a5edac8 Do not load vgpr, use original id 2019-10-11 16:22:36 +08:00
Asuka
5e8e503253 Support V_CVT_PKRTZ_F16_F32 and Exp MRT 2019-10-11 15:20:54 +08:00
Asuka
5ffe3b4d86 Add spirv parsing script 2019-10-11 10:48:17 +08:00
Inori
c6b8949704 Fix sample instruction error 2019-10-11 01:29:55 +08:00
Asuka
596c82cb1b Ignore 2019-10-10 21:28:20 +08:00
Asuka
d8738c9239 Avoid 0 spv id 2019-10-10 21:28:10 +08:00
Inori
6e844b017c a rename 2019-10-10 00:40:49 +08:00
Inori
24917017b3 Rename vector store function 2019-10-10 00:34:03 +08:00
Inori
1a284fccc6 Support IMAGE_SAMPLE, not complete 2019-10-10 00:27:28 +08:00
Inori
68805fdc54 Rename composite to component 2019-10-09 23:22:34 +08:00
Asuka
50a8fd2a59 Remove useless code 2019-10-09 21:01:11 +08:00
Asuka
d436b765e2 Support V_INTERP_XXX 2019-10-09 20:58:34 +08:00
Asuka
ebdae54f67 Fix resource array size 2019-10-09 16:18:25 +08:00
Asuka
c53215039f Declare texture and sampler 2019-10-09 14:41:06 +08:00
Inori
fef1adbe93 Declare sampler 2019-10-08 23:59:53 +08:00
Inori
7378d3f4d0 Implement pixel shader input and output 2019-10-08 23:01:30 +08:00
Inori
1e21eefbf9 Add pixel shader debug code 2019-10-08 23:01:03 +08:00
Inori
a32e36d3ba Fill VINTRP instruction type 2019-10-08 22:08:06 +08:00
Asuka
687b84fd3d Add header file to compile 2019-10-08 15:31:29 +08:00
Asuka
4b01367496 Reform functions 2019-10-08 11:10:35 +08:00
DummyCatz
8459f791bc Merge branch 'master' into linker 2019-10-07 22:51:57 +08:00
DummyCatz
55ce555c98 add trace stub for function calls from overrided functions 2019-10-07 22:48:07 +08:00
DummyCatz
be3e800718 Add tracing stub for function calls 2019-10-07 21:07:44 +08:00
Inori
386b2bc055 Fix ubo size error 2019-10-07 04:55:11 +08:00
Inori
a6a31faf8f Fix V_MAC_F32 bug
Should load vgpr, not sgpr
2019-10-07 04:07:39 +08:00
Inori
5126de7fed Implement scec_exit 2019-10-07 04:06:43 +08:00
Inori
33a414c618 Support V_MAC_F32 2019-10-07 03:42:48 +08:00
Inori
4c5cde9f7d Update CodeStyle.md 2019-10-07 03:42:34 +08:00
DummyCatz
33069fce99 add allow&disallow mode for library overridability settings
- we are now able to disable using some functions from specific libraries.
2019-10-06 22:30:38 +08:00
DummyCatz
c635ecf6e9 Register TLS information for each module 2019-10-06 18:32:34 +08:00
DummyCatz
7ed3b1bd1c Merge branch 'master' into linker 2019-10-06 13:08:59 +08:00
DummyCatz
1ba2bb6ea9 make MemoryMappedModule runnable 2019-10-06 12:35:18 +08:00
Inori
398c0afd53 Update CodeStyle.md 2019-10-06 06:05:35 +08:00
Inori
7cede1bce3 Update CodeStyle.md 2019-10-06 06:03:07 +08:00
Inori
50547aed6b Fix a macro spell error 2019-10-06 06:03:03 +08:00
Inori
85f3b704ff Implement prepareFlipWithEopInterrupt 2019-10-06 04:03:45 +08:00
Inori
efa96b70bb Implement file and memory c api 2019-10-06 04:03:30 +08:00
DummyCatz
cf09f7eb76 Merge branch 'master' into linker 2019-10-05 21:37:37 +08:00
DummyCatz
66d95a52c6 modify ModuleLoader::mapModuleNameToFilePath 2019-10-05 21:12:00 +08:00
Inori
a40ab11cc1 Reture success when no TSL found, mainly for demo programs. 2019-10-05 18:36:38 +08:00
Inori
3990f4c98a Add some new import functions, support two demos 2019-10-05 18:36:12 +08:00
Inori
d69a2718f4 Fix a but which use wrong array size of UBO 2019-10-05 03:59:20 +08:00
Inori
1a2b61acd5 Change shader variable name to camel case 2019-10-05 03:45:03 +08:00
Inori
f798faa2d6 Fix compiler bug 2019-10-05 03:37:41 +08:00
Inori
4b403b60c8 Remove useless code 2019-10-05 03:37:19 +08:00
Inori
9466b34e58 Support S_BUFFER_LOAD_DWORDxN 2019-10-05 03:37:04 +08:00
Inori
29baeb2af1 Reform compiler's contructor to use one input param 2019-10-05 01:08:42 +08:00
Asuka
148fa346d2 Support uniform buffer, not complete. 2019-10-04 21:08:51 +08:00