Home
last modified time | relevance | path

Searched refs:load_ubo (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c88 nir_intrinsic_instr *load_ubo = in etna_lower_io() local
90 load_ubo->num_components = intr->num_components; in etna_lower_io()
91 nir_intrinsic_set_align(load_ubo, intr->dest.ssa.bit_size / 8, 0); in etna_lower_io()
92 nir_ssa_dest_init(&load_ubo->instr, &load_ubo->dest, in etna_lower_io()
93 load_ubo->num_components, 32, NULL); in etna_lower_io()
96 load_ubo->src[0] = nir_src_for_ssa(nir_imm_int(&b, 0)); in etna_lower_io()
97 load_ubo->src[1] = nir_src_for_ssa(nir_iadd(&b, in etna_lower_io()
100 nir_builder_instr_insert(&b, &load_ubo->instr); in etna_lower_io()
102 nir_src_for_ssa(&load_ubo->dest.ssa)); in etna_lower_io()
/external/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c847 nir_intrinsic_instr *load_ubo = in lower_load_constant() local
849 load_ubo->num_components = intrin->num_components; in lower_load_constant()
850 load_ubo->src[0] = nir_src_for_ssa(index); in lower_load_constant()
851 load_ubo->src[1] = nir_src_for_ssa(offset); in lower_load_constant()
852 nir_intrinsic_set_align(load_ubo, intrin->dest.ssa.bit_size / 8, 0); in lower_load_constant()
853 nir_intrinsic_set_range_base(load_ubo, nir_intrinsic_base(intrin)); in lower_load_constant()
854 nir_intrinsic_set_range(load_ubo, nir_intrinsic_range(intrin)); in lower_load_constant()
855 nir_ssa_dest_init(&load_ubo->instr, &load_ubo->dest, in lower_load_constant()
858 nir_builder_instr_insert(b, &load_ubo->instr); in lower_load_constant()
859 data = &load_ubo->dest.ssa; in lower_load_constant()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c89 static LLVMValueRef load_ubo(struct ac_shader_abi *abi, in load_ubo() function
304 ctx->abi.load_ubo = load_ubo; in si_llvm_init_resource_callbacks()
/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h103 LLVMValueRef (*load_ubo)(struct ac_shader_abi *abi, member
Dac_nir_to_llvm.c2116 if (ctx->abi->load_ubo) in visit_load_ubo_buffer()
2117 rsrc = ctx->abi->load_ubo(ctx->abi, desc_set, binding, valid_binding, rsrc); in visit_load_ubo_buffer()
3836 LLVMValueRef ubo_index = ctx->abi->load_ubo(ctx->abi, 0, 0, false, ctx->ac.i32_0); in get_bindless_index_from_uniform()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.h62 void (*load_ubo)(struct lp_build_nir_context *bld_base, member
Dlp_bld_nir.c1193 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ubo()
1206 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_push_constant()
Dlp_bld_nir_soa.c2047 bld.bld_base.load_ubo = emit_load_ubo; in lp_build_nir_soa()
/external/mesa3d/docs/relnotes/
D19.2.2.rst77 - nir/sink: Don't sink load_ubo to outside of its defining loop
D20.2.2.rst73 - vc4: Add missing load_ubo set_align in yuv_blit fs.
D20.3.0.rst1023 - pan/bi: Add support for load_ubo
1472 - nir: Add a lowering pass for backends wanting load_ubo with vec4 offsets.
3050 - vc4: Add missing load_ubo set_align in yuv_blit fs.
D19.3.0.rst773 - nir/sink: Don't sink load_ubo to outside of its defining loop
805 - aco: add can_reorder flags to load_ubo and load_constant
D20.1.0.rst3766 - freedreno/ir3: fix indirect cb0 load_ubo lowering
D19.1.0.rst763 - nir: Add access qualifiers on load_ubo intrinsic.
D20.2.0.rst4006 - freedreno/ir3: fix indirect cb0 load_ubo lowering
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c3853 ctx.abi.load_ubo = radv_load_ubo; in ac_translate_nir_to_llvm()