Searched refs:get_decoration (Results 1 – 17 of 17) sorted by relevance
40 auto loc = compiler.get_decoration(v.id, spv::DecorationLocation); in rename_interface_variable()66 uint32_t set = compiler.get_decoration(s.image_id, spv::DecorationDescriptorSet); in inherit_combined_sampler_bindings()72 uint32_t binding = compiler.get_decoration(s.image_id, spv::DecorationBinding); in inherit_combined_sampler_bindings()
353 json_stream->emit_json_key_value("array_stride", get_decoration(type_id, DecorationArrayStride)); in emit_type()440 … get_decoration(type.member_types[index], DecorationArrayStride)); in emit_type_member_qualifiers()620 json_stream->emit_json_key_value("location", get_decoration(res.id, DecorationLocation)); in emit_resources()626 json_stream->emit_json_key_value("index", get_decoration(res.id, DecorationIndex)); in emit_resources()628 json_stream->emit_json_key_value("set", get_decoration(res.id, DecorationDescriptorSet)); in emit_resources()630 json_stream->emit_json_key_value("binding", get_decoration(res.id, DecorationBinding)); in emit_resources()633 get_decoration(res.id, DecorationInputAttachmentIndex)); in emit_resources()635 json_stream->emit_json_key_value("offset", get_decoration(res.id, DecorationOffset)); in emit_resources()
173 StageSetBinding tuple = { get_entry_point().model, get_decoration(id, DecorationDescriptorSet), in get_resource_array_size()174 get_decoration(id, DecorationBinding) }; in get_resource_array_size()891 …if (has_decoration(var.self, DecorationBuiltIn) && get_decoration(var.self, DecorationBuiltIn) == … in build_implicit_builtins()1237 uint32_t desc_set = get_decoration(var.self, DecorationDescriptorSet); in emit_entry_point_declarations()1768 BuiltIn bi_type = BuiltIn(get_decoration(arg_id, DecorationBuiltIn)); in extract_global_variables_from_function()2026 location = get_decoration(var.self, DecorationLocation); in add_component_variable_to_interface_block()2040 uint32_t start_component = get_decoration(var.self, DecorationComponent); in add_component_variable_to_interface_block()2046 uint32_t locn = get_decoration(var.self, DecorationLocation); in add_component_variable_to_interface_block()2106 BuiltIn builtin = BuiltIn(get_decoration(var.self, DecorationBuiltIn)); in add_plain_variable_to_interface_block()2139 uint32_t locn = get_decoration(var.self, DecorationLocation); in add_plain_variable_to_interface_block()[all …]
1785 …attr.push_back(join("input_attachment_index = ", get_decoration(var.self, DecorationInputAttachmen… in layout_for_variable()1798 attr.push_back(join("location = ", get_decoration(var.self, DecorationLocation))); in layout_for_variable()1802 location_is_non_coherent_framebuffer_fetch(get_decoration(var.self, DecorationLocation))) in layout_for_variable()1823 xfb_buffer = get_decoration(var.self, DecorationXfbBuffer); in layout_for_variable()1824 xfb_stride = get_decoration(var.self, DecorationXfbStride); in layout_for_variable()1830 geom_stream = get_decoration(var.self, DecorationStream); in layout_for_variable()1884 attr.push_back(join("stream = ", get_decoration(var.self, DecorationStream))); in layout_for_variable()1892 attr.push_back(join("xfb_buffer = ", get_decoration(var.self, DecorationXfbBuffer))); in layout_for_variable()1893 attr.push_back(join("xfb_stride = ", get_decoration(var.self, DecorationXfbStride))); in layout_for_variable()1894 attr.push_back(join("xfb_offset = ", get_decoration(var.self, DecorationOffset))); in layout_for_variable()[all …]
887 uint32_t index = get_decoration(var.self, DecorationIndex); in emit_interface_block_in_struct()888 uint32_t location = get_decoration(var.self, DecorationLocation); in emit_interface_block_in_struct()916 location_number = get_decoration(var.self, DecorationLocation); in emit_interface_block_in_struct()1023 builtin_to_initializer[get_decoration(var.self, DecorationBuiltIn)] = var.initializer; in emit_builtin_variables()1220 constant_value_macro_name(get_decoration(c.self, DecorationSpecId)); in emit_specialization_constants_and_structs()1424 uint32_t location = get_decoration(var.self, DecorationLocation); in emit_resources()3297 binding = get_decoration(var.self, DecorationBinding); in to_resource_binding()3299 desc_set = get_decoration(var.self, DecorationDescriptorSet); in to_resource_binding()3310 …return to_resource_register(HLSL_BINDING_AUTO_SAMPLER_BIT, 's', get_decoration(var.self, Decoratio… in to_resource_binding_sampler()3311 get_decoration(var.self, DecorationDescriptorSet)); in to_resource_binding_sampler()[all …]
129 uint32_t get_decoration(ID id, spv::Decoration decoration) const;
390 fprintf(stderr, " (Location : %u)", compiler.get_decoration(res.id, DecorationLocation)); in print_resources()392 fprintf(stderr, " (Set : %u)", compiler.get_decoration(res.id, DecorationDescriptorSet)); in print_resources()394 fprintf(stderr, " (Binding : %u)", compiler.get_decoration(res.id, DecorationBinding)); in print_resources()398 …fprintf(stderr, " (Attachment : %u)", compiler.get_decoration(res.id, DecorationInputAttachmentInd… in print_resources()
391 ir.set_decoration(target, decoration, ir.get_decoration(group_id, decoration)); in parse()416 ir.set_member_decoration(target, index, decoration, ir.get_decoration(group_id, decoration)); in parse()
166 constant_value_macro_name(get_decoration(c.self, DecorationSpecId)); in emit_resources()
896 resource.builtin = BuiltIn(get_decoration(var.self, DecorationBuiltIn)); in get_shader_resources()1398 uint32_t Compiler::get_decoration(ID id, Decoration decoration) const in get_decoration() function in Compiler1400 return ir.get_decoration(id, decoration); in get_decoration()2115 x.constant_id = get_decoration(c.m.c[0].id[0], DecorationSpecId); in get_work_group_size_specialization_constants()2121 y.constant_id = get_decoration(c.m.c[0].id[1], DecorationSpecId); in get_work_group_size_specialization_constants()2127 z.constant_id = get_decoration(c.m.c[0].id[2], DecorationSpecId); in get_work_group_size_specialization_constants()2867 spec_consts.push_back({ c.self, get_decoration(c.self, DecorationSpecId) }); in get_specialization_constants()
591 uint32_t ParsedIR::get_decoration(ID id, Decoration decoration) const in get_decoration() function in SPIRV_CROSS_NAMESPACE::ParsedIR
199 uint32_t get_decoration(ID id, spv::Decoration decoration) const;
1906 return compiler->compiler->get_decoration(id, static_cast<spv::Decoration>(decoration)); in spvc_compiler_get_decoration()
107 compiler.get_decoration(combined.sampler_id, spv::DecorationDescriptorSet); in ShaderModule()109 compiler.get_decoration(combined.sampler_id, spv::DecorationBinding); in ShaderModule()111 compiler.get_decoration(combined.image_id, spv::DecorationDescriptorSet); in ShaderModule()113 compiler.get_decoration(combined.image_id, spv::DecorationBinding); in ShaderModule()
92 compiler.get_decoration(resource.id, spv::DecorationBinding)); in ExtractSpirvInfo()94 compiler.get_decoration(resource.id, spv::DecorationDescriptorSet)); in ExtractSpirvInfo()334 compiler.get_decoration(combined.sampler_id, spv::DecorationDescriptorSet)); in TranslateToGLSL()336 compiler.get_decoration(combined.sampler_id, spv::DecorationBinding)); in TranslateToGLSL()339 compiler.get_decoration(combined.image_id, spv::DecorationDescriptorSet)); in TranslateToGLSL()341 BindingNumber(compiler.get_decoration(combined.image_id, spv::DecorationBinding)); in TranslateToGLSL()
131 uint32_t binding = compiler.get_decoration(resource.id, spv::DecorationBinding); in ExtractSpirvInfo()132 uint32_t set = compiler.get_decoration(resource.id, spv::DecorationDescriptorSet); in ExtractSpirvInfo()159 uint32_t location = compiler.get_decoration(attrib.id, spv::DecorationLocation); in ExtractSpirvInfo()
102 compilerMsl.get_decoration(resource.id, spv::DecorationDescriptorSet);110 resBinding.binding = compilerMsl.get_decoration(resource.id, spv::DecorationBinding);222 descriptorSet = compilerMsl.get_decoration(resource.id, spv::DecorationDescriptorSet);