You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at adding Shader Playground support for ACO, but that website seems to only support one shader stage at a time. fossilize-synth and fossilize-disasm seem to do a lot of what I want already, but supplying just a vertex or fragment shader without the other to fossilize-synth leads to a graphics pipeline not being generated.
I tried making some changes to support creating vertex-only graphics pipelines, which kind of works, but the interpolants get optimized away, which isn't what I want for this use case. It seems like I would need to reflect the vertex shader, and create a dummy fragment shader to ensure the interpolants are used. Likewise for the fragment-only case, I would need to create a dummy vertex shader outputting fragment shader inputs to even have a valid graphics pipeline.
Does this sound accurate? If you want any of these changes (vert-only graphics pipeline, --autovert, --autofrag), I can attempt PRs for them.
The text was updated successfully, but these errors were encountered:
It's possible to autogenerate vertex or fragment shaders depending on the reflected signatures, but it'd require generating SPIR-V from scratch to feed to drivers I think. Certainly possible, but not trivial. It's a useful feature to have I think.
I'm looking at adding Shader Playground support for ACO, but that website seems to only support one shader stage at a time. fossilize-synth and fossilize-disasm seem to do a lot of what I want already, but supplying just a vertex or fragment shader without the other to fossilize-synth leads to a graphics pipeline not being generated.
I tried making some changes to support creating vertex-only graphics pipelines, which kind of works, but the interpolants get optimized away, which isn't what I want for this use case. It seems like I would need to reflect the vertex shader, and create a dummy fragment shader to ensure the interpolants are used. Likewise for the fragment-only case, I would need to create a dummy vertex shader outputting fragment shader inputs to even have a valid graphics pipeline.
Does this sound accurate? If you want any of these changes (vert-only graphics pipeline, --autovert, --autofrag), I can attempt PRs for them.
The text was updated successfully, but these errors were encountered: