pub fn ext_inst_import(&mut self, extended_inst_set: impl Into<String>) -> spirv::Word {
        let id = self.id();
        let inst = dr::Instruction::new(
            spirv::Op::ExtInstImport,
            None,
            Some(id),
            vec![dr::Operand::LiteralString(extended_inst_set.into())],
        );
        self.module.ext_inst_imports.push(inst);
        id
    }
/// Appends an OpExtInstImport instruction and returns the result id.
Appends an OpExtInstImport instruction and returns the result id.
Appends an OpExtInstImport instruction and returns the result id .
pub fn ext_inst_import(&mut self, extended_inst_set: impl Into<String>) -> spirv::Word {
        let id = self.id();
        let inst = dr::Instruction::new(
            spirv::Op::ExtInstImport,
            None,
            Some(id),
            vec![dr::Operand::LiteralString(extended_inst_set.into())],
        );
        self.module.ext_inst_imports.push(inst);
        id
    }
pub fn ext_inst_import ( & mut self , extended_inst_set : impl Into < String > ) -> spirv :: Word { let id = self . id ( ) ; let inst = dr :: Instruction :: new ( spirv :: Op :: ExtInstImport , None , Some ( id ) , vec ! [ dr Operand LiteralString ( extended_inst_set into ( ) ) ] , ) ; self . module . ext_inst_imports . push ( inst ) ; id }
Appends an OpExtInstImport instruction and returns the result id.
Appends an OpExtInstImport instruction and returns the result id .
&mut self
extended_inst_set
impl Into<String>
&mut self
extended_inst_set
impl Into<String>