/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | inst_bindless_check_pass.h | 31 InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id, in InstBindlessCheckPass() argument 35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBindless, in InstBindlessCheckPass()
|
H A D | optimizer.cpp | 917 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, in CreateInstBindlessCheckPass() 921 desc_set, shader_id, desc_length_enable, desc_init_enable, in CreateInstBindlessCheckPass() 926 Optimizer::PassToken CreateInstDebugPrintfPass(uint32_t desc_set, in CreateInstDebugPrintfPass() argument 929 MakeUnique<opt::InstDebugPrintfPass>(desc_set, shader_id)); in CreateInstDebugPrintfPass() 932 Optimizer::PassToken CreateInstBuffAddrCheckPass(uint32_t desc_set, in CreateInstBuffAddrCheckPass() argument 935 MakeUnique<opt::InstBuffAddrCheckPass>(desc_set, shader_id)); in CreateInstBuffAddrCheckPass() 916 CreateInstBindlessCheckPass( uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, bool desc_init_enable, bool buff_oob_enable, bool texbuff_oob_enable) CreateInstBindlessCheckPass() argument
|
H A D | instrument_pass.h | 84 // set |desc_set| for debug input and output buffers and writes |shader_id| 87 InstrumentPass(uint32_t desc_set, uint32_t shader_id, uint32_t validation_id, in InstrumentPass() argument 90 desc_set_(desc_set), in InstrumentPass()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | inst_bindless_check_pass.h | 31 InstBindlessCheckPass(uint32_t desc_set, uint32_t shader_id, in InstBindlessCheckPass() argument 35 : InstrumentPass(desc_set, shader_id, kInstValidationIdBindless, in InstBindlessCheckPass()
|
H A D | optimizer.cpp | 917 uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, in CreateInstBindlessCheckPass() 921 desc_set, shader_id, desc_length_enable, desc_init_enable, in CreateInstBindlessCheckPass() 926 Optimizer::PassToken CreateInstDebugPrintfPass(uint32_t desc_set, in CreateInstDebugPrintfPass() argument 929 MakeUnique<opt::InstDebugPrintfPass>(desc_set, shader_id)); in CreateInstDebugPrintfPass() 932 Optimizer::PassToken CreateInstBuffAddrCheckPass(uint32_t desc_set, in CreateInstBuffAddrCheckPass() argument 935 MakeUnique<opt::InstBuffAddrCheckPass>(desc_set, shader_id)); in CreateInstBuffAddrCheckPass() 916 CreateInstBindlessCheckPass( uint32_t desc_set, uint32_t shader_id, bool desc_length_enable, bool desc_init_enable, bool buff_oob_enable, bool texbuff_oob_enable) CreateInstBindlessCheckPass() argument
|
H A D | instrument_pass.h | 84 // set |desc_set| for debug input and output buffers and writes |shader_id| 87 InstrumentPass(uint32_t desc_set, uint32_t shader_id, uint32_t validation_id, in InstrumentPass() argument 90 desc_set_(desc_set), in InstrumentPass()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_cross_c.h | 350 unsigned desc_set; member 556 unsigned desc_set; member 788 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_add_discrete_descriptor_set(spvc_compiler compiler, unsigned desc_set); 789 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_set_argument_buffer_device_address_space(spvc_compiler compiler, unsigned desc_set, spvc_bool device_address); 800 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_remap_constexpr_sampler_by_binding(spvc_compiler compiler, unsigned desc_set, unsigned binding, const spvc_msl_constexpr_sampler *sampler); 802 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_remap_constexpr_sampler_by_binding_ycbcr(spvc_compiler compiler, unsigned desc_set, unsigned binding, const spvc_msl_constexpr_sampler *sampler, const spvc_msl_sampler_ycbcr_conversion *conv); 808 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_add_dynamic_buffer(spvc_compiler compiler, unsigned desc_set, unsigned binding, unsigned index); 810 SPVC_PUBLIC_API spvc_result spvc_compiler_msl_add_inline_uniform_block(spvc_compiler compiler, unsigned desc_set, unsigned binding);
|
H A D | spirv_hlsl.hpp | 79 // By matching stage, desc_set and binding for a SPIR-V resource, 85 // To remap a push constant block which does not have any desc_set/binding associated with it, 86 // use ResourceBindingPushConstant{DescriptorSet,Binding} as values for desc_set/binding. 91 uint32_t desc_set = 0; member 209 void set_hlsl_force_storage_buffer_as_uav(uint32_t desc_set, uint32_t binding); 368 void remap_hlsl_resource_binding(HLSLBindingFlagBits type, uint32_t &desc_set, uint32_t &binding);
|
H A D | spirv_msl.hpp | 69 // Taken together, the stage, desc_set and binding combine to form a reference to a resource 91 uint32_t desc_set = 0; member 246 // Special constant used in a MSLResourceBinding desc_set 548 // desc_set and binding are the SPIR-V descriptor set and binding of a buffer resource 554 void add_dynamic_buffer(uint32_t desc_set, uint32_t binding, uint32_t index); 556 // desc_set and binding are the SPIR-V descriptor set and binding of a buffer resource 561 void add_inline_uniform_block(uint32_t desc_set, uint32_t binding); 565 void add_discrete_descriptor_set(uint32_t desc_set); 569 void set_argument_buffer_device_address_space(uint32_t desc_set, bool device_storage); 623 void remap_constexpr_sampler_by_binding(uint32_t desc_set, uint32_ [all...] |
H A D | spirv_msl.cpp | 68 StageSetBinding tuple = { binding.stage, binding.desc_set, binding.binding }; in add_msl_resource_binding() 75 StageSetBinding arg_idx_tuple = { binding.stage, binding.desc_set, k_unknown_component }; in add_msl_resource_binding() 117 void CompilerMSL::add_dynamic_buffer(uint32_t desc_set, uint32_t binding, uint32_t index) in add_dynamic_buffer() argument 119 SetBindingPair pair = { desc_set, binding }; in add_dynamic_buffer() 123 void CompilerMSL::add_inline_uniform_block(uint32_t desc_set, uint32_t binding) in add_inline_uniform_block() argument 125 SetBindingPair pair = { desc_set, binding }; in add_inline_uniform_block() 129 void CompilerMSL::add_discrete_descriptor_set(uint32_t desc_set) in add_discrete_descriptor_set() argument 131 if (desc_set < kMaxArgumentBuffers) in add_discrete_descriptor_set() 132 argument_buffer_discrete_mask |= 1u << desc_set; in add_discrete_descriptor_set() 135 void CompilerMSL::set_argument_buffer_device_address_space(uint32_t desc_set, boo argument 162 is_msl_resource_binding_used(ExecutionModel model, uint32_t desc_set, uint32_t binding) const is_msl_resource_binding_used() argument 1237 uint32_t desc_set = get_decoration(var.self, DecorationDescriptorSet); emit_entry_point_declarations() local [all...] |
H A D | spirv_hlsl.cpp | 3292 uint32_t desc_set = in to_resource_binding() 3299 desc_set = get_decoration(var.self, DecorationDescriptorSet); in to_resource_binding() 3301 return to_resource_register(resource_flags, space, binding, desc_set); in to_resource_binding() 3314 void CompilerHLSL::remap_hlsl_resource_binding(HLSLBindingFlagBits type, uint32_t &desc_set, uint32_t &binding) in remap_hlsl_resource_binding() argument 3316 auto itr = resource_bindings.find({ get_execution_model(), desc_set, binding }); in remap_hlsl_resource_binding() 3326 desc_set = remap.first.cbv.register_space; in remap_hlsl_resource_binding() 3331 desc_set = remap.first.srv.register_space; in remap_hlsl_resource_binding() 3336 desc_set = remap.first.sampler.register_space; in remap_hlsl_resource_binding() 3341 desc_set = remap.first.uav.register_space; in remap_hlsl_resource_binding() 5838 StageSetBinding tuple = { binding.stage, binding.desc_set, bindin in add_hlsl_resource_binding() 5842 is_hlsl_resource_binding_used(ExecutionModel model, uint32_t desc_set, uint32_t binding) const is_hlsl_resource_binding_used() argument 5871 const uint32_t desc_set = get_decoration(id, spv::DecorationDescriptorSet); is_hlsl_force_storage_buffer_as_uav() local 5877 set_hlsl_force_storage_buffer_as_uav(uint32_t desc_set, uint32_t binding) set_hlsl_force_storage_buffer_as_uav() argument [all...] |
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | image_descriptor.h | 37 uint32_t desc_set,
|
H A D | buffer_backed_descriptor.h | 39 uint32_t desc_set,
|
H A D | sampler_descriptor.h | 33 uint32_t desc_set,
|
H A D | buffer_descriptor.h | 45 uint32_t desc_set,
|
H A D | descriptor.h | 55 uint32_t desc_set,
|
H A D | pipeline.h | 86 Result GetDescriptorSlot(uint32_t desc_set,
|
/third_party/spirv-tools/source/opt/ |
H A D | instrument_pass.h | 77 // set |desc_set| for debug input and output buffers and writes |shader_id| 80 InstrumentPass(uint32_t desc_set, uint32_t shader_id, bool opt_direct_reads, in InstrumentPass() argument 83 desc_set_(desc_set), in InstrumentPass()
|
/third_party/skia/third_party/externals/spirv-cross/tests-other/ |
H A D | msl_ycbcr_conversion_test.cpp | 74 binding.desc_set = 1; in main()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_nir.c | 34 uint32_t desc_set, in dzn_nir_create_bo_desc() 50 var->data.descriptor_set = desc_set; in dzn_nir_create_bo_desc() 70 .desc_set = desc_set, in dzn_nir_create_bo_desc() 32 dzn_nir_create_bo_desc(nir_builder *b, nir_variable_mode mode, uint32_t desc_set, uint32_t binding, const char *name, unsigned access) dzn_nir_create_bo_desc() argument
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | VulkanCommandBufferPerf.cpp | 273 0, NUM_DESCRIPTOR_SETS, info.desc_set.data(), 0, NULL); in PrimaryCommandBufferBenchmarkHundredIndividual() 339 NUM_DESCRIPTOR_SETS, info.desc_set.data(), 0, NULL); in PrimaryCommandBufferBenchmarkOneWithOneHundred() 405 info.pipeline_layout, 0, NUM_DESCRIPTOR_SETS, info.desc_set.data(), in SecondaryCommandBufferBenchmark()
|
/third_party/ffmpeg/libavutil/ |
H A D | vulkan.c | 1090 pl->desc_set[idx], in ff_vk_update_descriptor_set() 1101 pl->desc_set[set_id], in ff_vk_update_descriptor_set() 1151 pl->desc_set = av_malloc(pl->total_descriptor_sets*sizeof(*pl->desc_set)); in ff_vk_init_pipeline_layout() 1152 if (!pl->desc_set) in ff_vk_init_pipeline_layout() 1156 pl->desc_set); in ff_vk_init_pipeline_layout() 1272 pl->desc_staging[i] = pl->desc_set[i*pl->qf->nb_queues + pl->qf->cur_queue]; in ff_vk_bind_pipeline_exec() 1358 av_freep(&pl->desc_set); in free_pipeline()
|
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | glsl_scraper.py | 126 desc_set = int(res.get('set', 0)) 128 (name, data_type, decl_type, location, component, binding, desc_set))
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_lower_vulkan_resource.c | 86 get_binding_layout(layout, nb.desc_set, nb.binding); in lower_block_instr() 94 for (unsigned s = 0; s < nb.desc_set; s++) in lower_block_instr()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_shader.c | 267 nir_bindless_resource_ir3(b, 32, descriptor_idx, .desc_set = nir_ssa_scalar_as_uint(scalar_idx)); in lower_ssbo_ubo_intrinsic() 278 nir_bindless_resource_ir3(b, 32, descriptor_idx, .desc_set = i); in lower_ssbo_ubo_intrinsic() 381 return nir_bindless_resource_ir3(b, 32, desc_offset, .desc_set = set); in build_bindless()
|