[Tint] Dual source blending SPIR-V

22 views
Skip to first unread message

Akio Gaule

unread,
Oct 3, 2024, 5:40:23 PM10/3/24
to Dawn Graphics
Hi:

I have a shader that is using dual source blending. The generated SPIR-V adds the proper Location and Index decoration, but Tint is not picking up the Index decoration as a "Blend Source" attribute, so it complains that there's multiple outputs for the same location. Is this a bug or do I need to add something extra to the generated SPIR-V in order to use dual source blending?

Thanks

James Price

unread,
Oct 3, 2024, 5:54:20 PM10/3/24
to Akio Gaule, Dawn Graphics
Hi Akio,

We haven't implemented dual-source blending in the SPIR-V reader yet.

I've opened crbug.com/371367697 to track the work to support this.

James

--
You received this message because you are subscribed to the Google Groups "Dawn Graphics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dawn-graphic...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dawn-graphics/290bcd87-1a0b-4c33-ab67-0ceba64619c7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages