9 Apr
2024
9 Apr
'24
7:58 p.m.
On Tue Apr 9 02:37:33 2024 +0000, Conor McCarthy wrote:
I have an alternate version which compiles all from a single `[tessellation shaders]` section. It requires runner changes to handle entry points, and is less flexible because we can't replace the HS or DS on their own. Duplicating structs was simpler so I went with that option. We'll probably want to add some kind of mechanism to specify a source blob once and the reference them multiple times. You could e.g. imagine something like this:
[blob 0]
...
[shader hlsl,vs,blob=0,entry=vs_main]
[shader hlsl,ps,blob=0,entry=ps_main]
[test]
...
or even this: ``` [blob 0] ... [test] shader hlsl,vs,blob=0,entry=vs_main shader hlsl,ps,blob=0,entry=ps_main ``` -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/767#note_67391