Home
last modified time | relevance | path

Searched refs:dynamic_index (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c246 LLVMValueRef dynamic_index, in si_nir_load_sampler_desc() argument
263 dynamic_index = in si_nir_load_sampler_desc()
264 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
267 dynamic_index = LLVMBuildAdd(ctx->ac.builder, dynamic_index, ctx->ac.i32_1, ""); in si_nir_load_sampler_desc()
270 return si_load_image_desc(ctx, list, dynamic_index, desc_type, write, true); in si_nir_load_sampler_desc()
278 dynamic_index = in si_nir_load_sampler_desc()
279 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
280 list = ac_build_pointer_add(&ctx->ac, list, dynamic_index); in si_nir_load_sampler_desc()
285 assert(const_index < num_slots || dynamic_index); in si_nir_load_sampler_desc()
290 if (dynamic_index) { in si_nir_load_sampler_desc()
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp3754 subchain.dynamic_index = join(ident, " * ", chain.array_stride, " + ", chain.dynamic_index); in read_access_chain_array()
3851 …load_expr = join(base, ".", load_op, template_expr, "(", chain.dynamic_index, chain.static_index, … in read_access_chain()
3873 load_expr += join(base, ".Load", template_expr, "(", chain.dynamic_index, in read_access_chain()
3922 load_expr += join(base, ".", load_op, template_expr, "(", chain.dynamic_index, in read_access_chain()
3951 load_expr += join(base, ".Load", template_expr, "(", chain.dynamic_index, in read_access_chain()
4051 subchain.dynamic_index = join(ident, " * ", chain.array_stride, " + ", chain.dynamic_index); in write_access_chain_array()
4188 statement(base, ".", store_op, template_expr, "(", chain.dynamic_index, chain.static_index, ", ", in write_access_chain()
4219 statement(base, ".Store", template_expr, "(", chain.dynamic_index, in write_access_chain()
4263 statement(base, ".", store_op, template_expr, "(", chain.dynamic_index, in write_access_chain()
4287 statement(base, ".Store", template_expr, "(", chain.dynamic_index, in write_access_chain()
[all …]
Dspirv_common.hpp988 , dynamic_index(std::move(dynamic_index_)) in SPIRAccessChain()
1001 std::string dynamic_index; member
/third_party/mesa3d/src/amd/llvm/
Dac_nir_to_llvm.c2414 LLVMValueRef dynamic_index, in get_image_descriptor() argument
2421 return get_sampler_desc(ctx, deref_instr, desc_type, &instr->instr, dynamic_index, true, write); in get_image_descriptor()
2543 LLVMValueRef dynamic_index = enter_waterfall_image(ctx, &wctx, instr); in visit_image_load() local
2556 rsrc = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_BUFFER, false); in visit_image_load()
2574 args.resource = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_IMAGE, false); in visit_image_load()
2575 get_image_coords(ctx, instr, dynamic_index, &args, dim, is_array); in visit_image_load()
2633 LLVMValueRef dynamic_index = enter_waterfall_image(ctx, &wctx, instr); in visit_image_store() local
2650 LLVMValueRef rsrc = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_BUFFER, true); in visit_image_store()
2666 args.resource = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_IMAGE, true); in visit_image_store()
2667 get_image_coords(ctx, instr, dynamic_index, &args, dim, is_array); in visit_image_store()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_private.h343 int16_t dynamic_index; member
Dlvp_descriptor_set.c113 set_layout->binding[b].dynamic_index = dynamic_offset_count; in lvp_CreateDescriptorSetLayout()
Dlvp_execute.c1151 …uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_i… in handle_descriptor()
1173 …uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_i… in handle_descriptor()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/tbe/
Dtbe_kernel_build.cc225 static int32_t dynamic_index = 0; in GenTbeSingleKernelJson() local
226 op_info_json[kJDynamicIndex] = dynamic_index++; in GenTbeSingleKernelJson()