Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c248 LLVMValueRef dynamic_index, in si_nir_load_sampler_desc() argument
265 dynamic_index = in si_nir_load_sampler_desc()
266 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
269 dynamic_index = LLVMBuildAdd(ctx->ac.builder, dynamic_index, ctx->ac.i32_1, ""); in si_nir_load_sampler_desc()
272 return si_load_image_desc(ctx, list, dynamic_index, desc_type, write, true); in si_nir_load_sampler_desc()
280 dynamic_index = in si_nir_load_sampler_desc()
281 LLVMBuildMul(ctx->ac.builder, dynamic_index, LLVMConstInt(ctx->ac.i64, 2, 0), ""); in si_nir_load_sampler_desc()
282 list = ac_build_pointer_add(&ctx->ac, list, dynamic_index); in si_nir_load_sampler_desc()
295 if (dynamic_index) { in si_nir_load_sampler_desc()
296 index = LLVMBuildAdd(builder, index, 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.c2473 LLVMValueRef dynamic_index, in get_image_descriptor() argument
2480 return get_sampler_desc(ctx, deref_instr, desc_type, &instr->instr, dynamic_index, true, write); in get_image_descriptor()
2601 LLVMValueRef dynamic_index = enter_waterfall_image(ctx, &wctx, instr); in visit_image_load() local
2615 rsrc = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_BUFFER, false); in visit_image_load()
2633 args.resource = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_IMAGE, false); in visit_image_load()
2634 get_image_coords(ctx, instr, dynamic_index, &args, dim, is_array); in visit_image_load()
2692 LLVMValueRef dynamic_index = enter_waterfall_image(ctx, &wctx, instr); in visit_image_store() local
2709 LLVMValueRef rsrc = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_BUFFER, true); in visit_image_store()
2725 args.resource = get_image_descriptor(ctx, instr, dynamic_index, AC_DESC_IMAGE, true); in visit_image_store()
2726 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.h277 int16_t dynamic_index; member
Dlvp_descriptor_set.c112 set_layout->binding[b].dynamic_index = dynamic_offset_count; in lvp_CreateDescriptorSetLayout()
Dlvp_execute.c1336 …uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_i… in handle_descriptor()
1365 …uint32_t offset = dyn_info->dynamic_offsets[dyn_info->dyn_index + binding->dynamic_index + array_i… in handle_descriptor()