I'm trying to build a SPIR-V module using this library, but I'm stuck in creating a valid type_id.
module = Module()
func = Function(module, None , ???)
What can I pass to type_id argument? I think I understand how to modify an existing module using this, but trying to build from zero, I can't even initialize objects. Could you provide some examples for this?
I'm trying to build a SPIR-V module using this library, but I'm stuck in creating a valid type_id.
What can I pass to type_id argument? I think I understand how to modify an existing module using this, but trying to build from zero, I can't even initialize objects. Could you provide some examples for this?