Home
last modified time | relevance | path

Searched refs:constant_index (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h128 unsigned base_index, unsigned constant_index,
Dac_nir_to_llvm.c3825 unsigned constant_index, in get_bindless_index_from_uniform() argument
3830 LLVMConstInt(ctx->ac.i32, constant_index, 0), ""); in get_bindless_index_from_uniform()
3847 unsigned constant_index; member
3858 unsigned constant_index = 0; in get_sampler_desc_internal() local
3890 constant_index += array_size * nir_src_as_uint(deref_instr->arr.index); in get_sampler_desc_internal()
3907 constant_index += glsl_get_struct_location_offset(deref_instr->type, sidx); in get_sampler_desc_internal()
3922 index = get_bindless_index_from_uniform(ctx, base_index, constant_index, index); in get_sampler_desc_internal()
3929 .constant_index = constant_index, in get_sampler_desc_internal()
3951 addr.constant_index, index, desc_type, addr.image, write, in get_sampler_desc()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c220 unsigned base_index, unsigned constant_index, in si_nir_load_sampler_desc() argument
227 unsigned const_index = base_index + constant_index; in si_nir_load_sampler_desc()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer.cc643 int constant_index = 0; in CheckForDeadFanout() local
654 constant_index = i; in CheckForDeadFanout()
698 constant_index ? constant_init_node : constant_ctrl_input; in CheckForDeadFanout()
700 constant_index ? constant_ctrl_input : constant_init_node; in CheckForDeadFanout()
/external/mesa3d/src/panfrost/bifrost/
Dbi_pack.c1092 unsigned constant_index = 0; in bi_pack_clause() local
1106 while (constant_index < clause->constant_count) { in bi_pack_clause()
1107 constant_index += bi_pack_constants(ctx, clause, in bi_pack_clause()
1108 constant_index, emission); in bi_pack_clause()
/external/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp987 ConstantInt *constant_index = dyn_cast<ConstantInt>(*ii); in Interpret() local
989 if (!constant_index) { in Interpret()
1002 constant_index = cast<ConstantInt>(ConstantInt::get( in Interpret()
1006 const_indices.push_back(constant_index); in Interpret()
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc552 auto constant_index = ConstantR0<int32>(&builder, index); in RunR3Contiguous() local
554 DynamicUpdateSlice(input, update, {constant_index, zero, zero}); in RunR3Contiguous()
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c932 unsigned constant_index, in radv_get_sampler_desc() argument
983 offset += constant_index * stride; in radv_get_sampler_desc()
988 constant_index = 0; in radv_get_sampler_desc()
993 LLVMConstInt(ctx->ac.i32, samplers[constant_index * 4 + 0], 0), in radv_get_sampler_desc()
994 LLVMConstInt(ctx->ac.i32, samplers[constant_index * 4 + 1], 0), in radv_get_sampler_desc()
995 LLVMConstInt(ctx->ac.i32, samplers[constant_index * 4 + 2], 0), in radv_get_sampler_desc()
996 LLVMConstInt(ctx->ac.i32, samplers[constant_index * 4 + 3], 0), in radv_get_sampler_desc()
1020 …LLVMValueRef descriptor2 = radv_get_sampler_desc(abi, descriptor_set, base_index, constant_index, … in radv_get_sampler_desc()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp5445 unsigned constant_index = 0; in get_sampler_desc() local
5463 constant_index += array_size * const_value->u32; in get_sampler_desc()
5533 offset += constant_index * stride; in get_sampler_desc()
5538 constant_index = 0; in get_sampler_desc()
5542 Operand(samplers[constant_index * 4 + 0]), in get_sampler_desc()
5543 Operand(samplers[constant_index * 4 + 1]), in get_sampler_desc()
5544 Operand(samplers[constant_index * 4 + 2]), in get_sampler_desc()
5545 Operand(samplers[constant_index * 4 + 3])); in get_sampler_desc()
/external/mesa3d/docs/relnotes/
D19.1.0.rst1451 - nir: Drop comments about the constant_index slots for load/stores.