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
Ivan Avdeev
cb406f14c5
meat: fixup build on linux
2022-10-16 23:26:59 -07:00
Ivan 'provod' Avdeev
cb0d09557d
meat: stub parsing pipelines
2022-10-15 15:09:45 -07:00
Ivan 'provod' Avdeev
f2f712b1a8
vk: fixup meatpipe error messages
2022-10-15 14:32:51 -07:00
Ivan 'provod' Avdeev
c6d29213ec
vk: remove spirv parsing
2022-10-15 14:28:04 -07:00
Ivan 'provod' Avdeev
f7c04760e3
rt: begin loading meatpipe shaders
2022-10-15 14:26:58 -07:00
Ivan Avdeev
99489cf05c
seba: add spirv.py
2022-10-15 13:05:31 -07:00
Ivan 'provod' Avdeev
09b0e0f8ff
rt: deduplicate sbt spec copies into ray pass
2022-10-15 12:44:54 -07:00
Ivan Avdeev
9c679c39b8
seba: produce serialized meat file
2022-10-15 12:13:52 -07:00
Ivan Avdeev
9478c870e3
seba: improve shader loading a bit
2022-10-15 11:24:56 -07:00