Searched refs:builtin_type (Results 1 – 8 of 8) sorted by relevance
36 typedef T builtin_type ; typedef
380 dec.builtin_type = static_cast<BuiltIn>(argument); in set_decoration()459 dec.builtin_type = static_cast<BuiltIn>(argument); in set_member_decoration()604 return dec.builtin_type; in get_decoration()754 return dec.builtin_type; in get_member_decoration()
575 *builtin = memb[index].builtin_type; in is_member_builtin()1020 …if (ir.meta[c.self].decoration.builtin && ir.meta[c.self].decoration.builtin_type == BuiltInWorkgr… in parse_fixup()3983 flags.set(decorations.builtin_type); in add_if_builtin()3984 handle_builtin(type, decorations.builtin_type, decorations.decoration_flags); in add_if_builtin()4120 flags.set(decorations.builtin_type); in handle()4121 handle_builtin(compiler.get<SPIRType>(type->member_types[index]), decorations.builtin_type, in handle()
265 BuiltIn builtin = ir.meta[var.self].decoration.builtin_type; in build_implicit_builtins()7369 …m->decoration.builtin_type == BuiltInTessLevelInner && get_entry_point().flags.get(ExecutionModeTr… in emit_tessellation_access_chain()11873 BuiltIn bi_type = ir.meta[var_id].decoration.builtin_type; in fix_up_shader_inputs_outputs()12540 auto builtin_type = BuiltIn(get_decoration(arg.id, DecorationBuiltIn)); in argument_decl() local12555 (builtin_type == BuiltInTessLevelInner || builtin_type == BuiltInTessLevelOuter)) in argument_decl()12559 else if (builtin_type != BuiltInClipDistance && builtin_type != BuiltInCullDistance) in argument_decl()12565 !is_stage_output_builtin_masked(builtin_type)) in argument_decl()12569 decl = join(cv_qualifier, builtin_type_decl(builtin_type, arg.id)); in argument_decl()12665 (builtin_type == BuiltInTessLevelInner || builtin_type == BuiltInTessLevelOuter)) in argument_decl()12667 uint32_t array_size = get_physical_tess_level_array_size(builtin_type); in argument_decl()[all …]
3021 builtins.set(m.builtin_type); in emit_declared_builtin_block()3022 if (m.builtin_type == BuiltInCullDistance) in emit_declared_builtin_block()3024 else if (m.builtin_type == BuiltInClipDistance) in emit_declared_builtin_block()3027 if (is_block_builtin(m.builtin_type) && m.decoration_flags.get(DecorationOffset)) in emit_declared_builtin_block()3030 builtin_xfb_offsets[m.builtin_type] = m.offset; in emit_declared_builtin_block()3033 if (is_block_builtin(m.builtin_type) && m.decoration_flags.get(DecorationStream)) in emit_declared_builtin_block()3074 global_builtins.set(m.builtin_type); in emit_declared_builtin_block()3075 if (m.builtin_type == BuiltInCullDistance) in emit_declared_builtin_block()3077 else if (m.builtin_type == BuiltInClipDistance) in emit_declared_builtin_block()3080 if (is_block_builtin(m.builtin_type) && m.decoration_flags.get(DecorationXfbStride) && in emit_declared_builtin_block()[all …]
1621 spv::BuiltIn builtin_type = spv::BuiltInMax; member
390 sem::Type* builtin_type(ast::Builtin builtin);
1697 sem::Type* GeneratorImpl::builtin_type(ast::Builtin builtin) { in builtin_type() function in tint::writer::glsl::GeneratorImpl1933 if (builtin_type(builtin->builtin) != member->Type()) { in EmitEntryPointFunction()