Commit Graph

2691 Commits

Author SHA1 Message Date
Ivan 'provod' Avdeev
3e194c7c6d [wip] preregister all resources and get meatpipe to compile
still doesn't draw anything yet. needs writing descriptor values and barriers
2023-01-21 11:36:11 -08:00
Ivan Avdeev
59b3bbec08 fix linux build 2023-01-19 22:51:32 -08:00
Ivan 'provod' Avdeev
1ef9526aff [wip] begin creating gbuffer resources based on meatpipe description 2023-01-18 11:06:35 -08:00
Ivan 'provod' Avdeev
fbf2d7096d [WIP] pass resources from meatpipe to pass, track writability
doesn't draw anything yet
2023-01-16 22:57:48 -08:00
Ivan 'provod' Avdeev
d96917c693 [WIP] meatpipe: export arrays and meatpipe bindings directly
compiles and runs, but doesn't draw anything yet
2023-01-16 12:41:37 -08:00
Ivan Avdeev
8d484d9205
Merge pull request #393 from w23/spirv-parsing
Adds partial support of meatpipes pipeline description framework. Partial because it cannot create resources or resolve their dependencies automatically yet.
2023-01-09 21:30:28 -08:00
Ivan Avdeev
3f6171bfa9 update todo 2022-12-18 21:41:33 -08:00
Ivan 'provod' Avdeev
b112567552 rt: add env light shadows 2022-11-26 13:01:29 -08:00
Ivan 'provod' Avdeev
c94314d15a rt: use rake yuri for direct light shadows
make compute shaders compile with newer vulkan env; leave comment in sebastian that we need to support older way of detecting ubo vs sbo

env lights shadows are not implemented yet
2022-11-26 12:35:22 -08:00
Ivan Avdeev
096f123e85 meat: pass image format to resources and validate
also map spirv image formats to vk in sebastian
2022-11-26 10:29:59 -08:00
Ivan 'provod' Avdeev
cc85a191f1 waf: fix depending on sebastian on win32 2022-11-19 13:28:18 -08:00
Ivan Avdeev
2aeac9ac4a sebameat: pass image format to resources 2022-11-19 13:11:24 -08:00
Ivan Avdeev
b8bfe3b3a8 sebameat: serialize and load resources 2022-11-19 12:02:18 -08:00
Ivan Avdeev
e5abf365dd seba: remove debuggery 2022-11-13 22:55:38 -08:00
Ivan 'provod' Avdeev
45d5565898 seba: explicitly find python interprete on windows 2022-11-13 16:29:41 -08:00
Ivan Avdeev
9de9620135 seba: impl removeprefix for older py 2022-11-13 16:29:41 -08:00
Ivan 'provod' Avdeev
df2546514e seba: make windows find and run it
also attempt to fix finding dependency nodes
2022-11-13 16:29:41 -08:00
Ivan Avdeev
9ddf9c243b add debug logs for ci investigation 2022-11-13 16:29:41 -08:00
Ivan Avdeev
8849ebfe75 seba: enforce python3 2022-11-13 15:32:51 -08:00
Ivan Avdeev
09823beed8 meat: remove newer f" syntax as CI python is too old 2022-11-13 15:19:41 -08:00
Ivan Avdeev
d49b0907b9 meat/waf: clean things a tiny bit 2022-11-13 15:07:36 -08:00
Ivan Avdeev
5d5b595529 meat: waf: track shader dependencies properly
needs a cleanup, committing with debug outputs for now
2022-11-13 14:54:18 -08:00
Ivan Avdeev
f2697fc7e6 vk: run sebastian as part of waf 2022-11-13 01:19:50 -08:00
Ivan Avdeev
f607be0831 add tentative plan for next stream 2022-11-05 14:46:47 -07:00
Ivan Avdeev
7d591c46dd vk: remove old fixme declared types for bindings 2022-11-05 14:44:17 -07:00
Ivan Avdeev
84cdbdb331 seba: extract types from spirv 2022-11-05 14:27:45 -07:00
Ivan 'provod' Avdeev
f5779956c9 meat: recover in/out from bindings directly
sebastian detects out_ prefix in binding name, writes it as write_bit in binding header
meatpipe then reads it and adjusts semantic accordingly
2022-11-05 12:33:07 -07:00
Ivan 'provod' Avdeev
9fded1e4ca vk: remove old hardcoded bindings definitions 2022-11-05 11:34:02 -07:00
Ivan Avdeev
3f01b95459 fixup missing resource description 2022-10-29 15:53:08 -07:00
Ivan Avdeev
31a1aef6ab fixup linux 2022-10-29 15:43:28 -07:00
Ivan 'provod' Avdeev
a5d5167f1d meat: use bindings from meat file
also compare them with currently hardcoded values to make sure there are no regressions

next:
- remove old hardcoded semantic/binding tables
- remove comparisons
- extract formats from spirv
2022-10-29 15:34:37 -07:00
Ivan 'provod' Avdeev
c2e4f199ec rt: expose light binding name directly 2022-10-29 14:05:28 -07:00
Ivan 'provod' Avdeev
6cc8bb2f46 rt: name uniform buffers directly to ease spirv parsing 2022-10-29 14:01:14 -07:00
Ivan 'provod' Avdeev
2f45e38e62 seba: quiet 2022-10-29 13:25:00 -07:00
Ivan 'provod' Avdeev
1500cea931 meat: write and parse bindings (not used for layout yet) 2022-10-29 12:52:29 -07:00
Ivan 'provod' Avdeev
556440df27 seba: collect all bindings for pipelines 2022-10-29 12:25:56 -07:00
Ivan 'provod' Avdeev
6f80bc0015 seba: slightly improve serialization routines 2022-10-29 11:35:50 -07:00
Ivan Avdeev
42b909fdc7
Merge pull request #395 from 0x4E69676874466F78/spirv-parsing
added support comments for rt.json
2022-10-29 11:10:04 -07:00
NightFox
af8702ecb3 added support comments for rt.json
support //comment and /* comment */
and autofix comma
2022-10-24 13:43:25 +03:00
Ivan Avdeev
c2cf738483 fixup linux compilation 2022-10-22 16:53:32 -07:00
Ivan 'provod' Avdeev
2252731073 meat: remove support of loading shaders from files for passes 2022-10-22 15:07:09 -07:00
Ivan 'provod' Avdeev
c1cc5f56f6 rt: remove direct usage of passes 2022-10-22 14:52:24 -07:00
Ivan 'provod' Avdeev
dcc96fe7ed meat: also store shader names 2022-10-22 14:44:31 -07:00
Ivan 'provod' Avdeev
5600ce7569 rt: use meatpipe for rendering 2022-10-22 14:43:41 -07:00
Ivan 'provod' Avdeev
d4114b8423 meat: load pipelines from meat
- added shader_module alongside shader filenames to various things from ray pass to pipelines and stages
- this broke unconditional deletion of shader modules, because now lifetime is controlled from outside. this is commented out
- layout data is passed to meatpipe as extern for known string names of pipelines. this will be fixed when we start pasing bindings properly

these pipelines aren't used yet.
2022-10-22 13:04:00 -07:00
Ivan Avdeev
b63c328ed5 vk: update % for long-long on 32 bit linux 2022-10-17 08:35:10 -07:00
Ivan Avdeev
ca296d7a4e meat: remove extra debug log param 2022-10-17 00:14:37 -07:00
Ivan Avdeev
141cc5de64 vk: silence "may be used uninitialized" warning 2022-10-17 00:01:48 -07:00
Ivan Avdeev
7f80985124 vk: fixup swapchain printf 2022-10-16 23:51:59 -07:00
Ivan Avdeev
ecac9a1f48 vk: compile w/ -Werror, fix a bunch of bad stuff 2022-10-16 23:44:13 -07:00