Home
last modified time | relevance | path

Searched refs:base_index (Results 1 – 20 of 20) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c34 unsigned base_index = 0; in lower_tex_src_to_offset() local
67 base_index += index_in_array * array_elements; in lower_tex_src_to_offset()
69 base_index = glsl_array_size(parent->type) - 1; in lower_tex_src_to_offset()
74 index = nir_imm_int(b, base_index); in lower_tex_src_to_offset()
75 base_index = 0; in lower_tex_src_to_offset()
94 base_index += deref->var->data.binding; in lower_tex_src_to_offset()
111 instr->sampler_index = base_index; in lower_tex_src_to_offset()
113 instr->texture_index = base_index; in lower_tex_src_to_offset()
Dnir_opt_copy_prop_vars.c463 unsigned base_index, unsigned write_mask) in value_set_from_value() argument
466 assert(base_index == 0 || write_mask == 1); in value_set_from_value()
476 value->ssa.def[base_index + i] = from->ssa.def[i]; in value_set_from_value()
477 value->ssa.component[base_index + i] = from->ssa.component[i]; in value_set_from_value()
/third_party/node/deps/v8/src/codegen/
Dregister-configuration.cc317 int base_index = index << shift; in GetAliases() local
318 if (base_index >= kMaxFPRegisters) { in GetAliases()
322 *alias_base_index = base_index; in GetAliases()
/third_party/node/deps/v8/src/base/
Dbit-field.h135 static int index(int base_index, int item) { in index() argument
136 return base_index + item / kItemsPerWord; in index()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c247 unsigned base_index, unsigned constant_index, in si_nir_load_sampler_desc() argument
254 unsigned const_index = base_index + constant_index; in si_nir_load_sampler_desc()
290 const_index = base_index; in si_nir_load_sampler_desc()
/third_party/mesa3d/src/amd/llvm/
Dac_shader_abi.h98 unsigned base_index, unsigned constant_index,
Dac_nir_to_llvm.c4365 static LLVMValueRef get_bindless_index_from_uniform(struct ac_nir_context *ctx, unsigned base_index, in get_bindless_index_from_uniform() argument
4369 LLVMValueRef offset = LLVMConstInt(ctx->ac.i32, base_index * 4, 0); in get_bindless_index_from_uniform()
4387 unsigned base_index; /* binding in vulkan */ member
4401 unsigned base_index; in get_sampler_desc_internal() local
4408 base_index = 0; in get_sampler_desc_internal()
4415 base_index = 0; in get_sampler_desc_internal()
4420 base_index = tex_instr->sampler_index; in get_sampler_desc_internal()
4459 base_index = deref_instr->var->data.driver_location; in get_sampler_desc_internal()
4463 index = get_bindless_index_from_uniform(ctx, base_index, constant_index, index); in get_sampler_desc_internal()
4465 base_index = deref_instr->var->data.binding; in get_sampler_desc_internal()
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c285 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive() local
296 if (length + base_index < length) { in validate_gl_array_primitive()
300 max_index = length + base_index - 1; in validate_gl_array_primitive()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c674 unsigned base_index = 0; in lower_tex_src_to_offset() local
690 base_index += nir_src_as_uint(deref->arr.index) * array_elements; in lower_tex_src_to_offset()
694 index = nir_imm_int(b, base_index); in lower_tex_src_to_offset()
695 base_index = 0; in lower_tex_src_to_offset()
742 deref->var->data.index + base_index : in lower_tex_src_to_offset()
743 base_index; in lower_tex_src_to_offset()
816 unsigned base_index = 0; in lower_image_deref() local
827 base_index += nir_src_as_uint(deref->arr.index) * array_elements; in lower_image_deref()
831 index = nir_imm_int(b, base_index); in lower_image_deref()
832 base_index = 0; in lower_image_deref()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c1112 unsigned *base_index, unsigned plane, in lower_tex_deref() argument
1161 *base_index = binding_offset + plane; in lower_tex_deref()
1178 *base_index += desc_arr_index; in lower_tex_deref()
1180 *base_index += arr_index; in lower_tex_deref()
/third_party/node/deps/v8/src/interpreter/
Dinterpreter-assembler.cc1273 TNode<IntPtrT> base_index; in DispatchWide() local
1276 base_index = IntPtrConstant(1 << kBitsPerByte); in DispatchWide()
1279 base_index = IntPtrConstant(2 << kBitsPerByte); in DispatchWide()
1284 TNode<WordT> target_index = IntPtrAdd(base_index, next_bytecode); in DispatchWide()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_memory.cpp1224 const auto base_index = 2; in ValidateAccessChain() local
1225 const auto base_id = inst->GetOperandAs<uint32_t>(base_index); in ValidateAccessChain()
/third_party/spirv-tools/source/val/
Dvalidate_memory.cpp1271 const auto base_index = 2; in ValidateAccessChain() local
1272 const auto base_id = inst->GetOperandAs<uint32_t>(base_index); in ValidateAccessChain()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_memory.cpp1224 const auto base_index = 2; in ValidateAccessChain() local
1225 const auto base_id = inst->GetOperandAs<uint32_t>(base_index); in ValidateAccessChain()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniforms.c688 int base_index = params->NumParameters; in add_parameter() local
721 struct gl_program_parameter *param = &params->Parameters[base_index + i]; in add_parameter()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gpos-table.hh2085 …unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoi… in apply() local
2086 if (base_index == NOT_COVERED) return_trace (false); in apply()
2088 …return_trace ((this+markArray).apply (c, mark_index, base_index, this+baseArray, classCount, skipp… in apply()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c263 nir_ssa_def *base_index, nir_ssa_def *offset_index) in vtn_resource_reindex() argument
270 instr->src[0] = nir_src_for_ssa(base_index); in vtn_resource_reindex()
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c1702 unsigned base_index = base + base_offset + component_index / 4; in lower_ngg_gs_store_output() local
1712 nir_store_var(b, s->output_vars[base_index][component_index], component_element, 0x1u); in lower_ngg_gs_store_output()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c325 radv_get_sampler_desc(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, in radv_get_sampler_desc() argument
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp1239 uint32_t base_index = dynamic_buffer.second.first; in emit_entry_point_declarations() local
1271 arrays, " + ", to_name(dynamic_offsets_buffer_id), "[", base_index + j, "]),"); in emit_entry_point_declarations()
1289 … ensure_valid_name(name, "m"), " + ", to_name(dynamic_offsets_buffer_id), "[", base_index, "]);"); in emit_entry_point_declarations()