Skip to content

Can I build a module from zero? #5

@bglgwyng

Description

@bglgwyng

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions