Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
H A 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()
H A Dnir_opt_copy_prop_vars.c463 unsigned base_index, unsigned write_mask) in value_set_from_value()
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()
462 value_set_from_value(struct value *value, const struct value *from, unsigned base_index, unsigned write_mask) value_set_from_value() argument
/third_party/node/deps/v8/src/codegen/
H A Dregister-configuration.cc317 int base_index = index << shift;
318 if (base_index >= kMaxFPRegisters) {
322 *alias_base_index = base_index;
/third_party/node/deps/v8/src/base/
H A Dbit-field.h135 static int index(int base_index, int item) {
136 return base_index + item / kItemsPerWord;
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_resources.c247 unsigned base_index, unsigned constant_index, in si_nir_load_sampler_desc()
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()
246 si_nir_load_sampler_desc(struct ac_shader_abi *abi, unsigned descriptor_set, unsigned base_index, unsigned constant_index, LLVMValueRef dynamic_index, enum ac_descriptor_type desc_type, bool image, bool write, bool bindless) si_nir_load_sampler_desc() argument
/third_party/mesa3d/src/amd/llvm/
H A Dac_shader_abi.h90 * \param base_index the base index of the sampler variable
98 unsigned base_index, unsigned constant_index,
H A 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 in get_sampler_desc_internal()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
H A 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/
H A 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()
739 * treating them as a texture, we only want the base_index 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()
[all...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_nir_apply_pipeline_layout.c1112 unsigned *base_index, unsigned plane, in lower_tex_deref()
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()
1110 lower_tex_deref(nir_builder *b, nir_tex_instr *tex, nir_tex_src_type deref_src_type, unsigned *base_index, unsigned plane, struct apply_pipeline_layout_state *state) lower_tex_deref() argument
/third_party/node/deps/v8/src/interpreter/
H A 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/mesa3d/src/compiler/glsl/
H A 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/spirv-tools/source/val/
H A 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/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A 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/
H A Dvalidate_memory.cpp1298 const auto base_index = 2; in ValidateAccessChain() local
1299 const auto base_id = inst->GetOperandAs<uint32_t>(base_index); in ValidateAccessChain()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gpos-table.hh2085 unsigned int base_index = (this+baseCoverage).get_coverage (buffer->info[skippy_iter.idx].codepoint); 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, skippy_iter.idx)); in apply()
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_variables.c263 nir_ssa_def *base_index, nir_ssa_def *offset_index) in vtn_resource_reindex()
270 instr->src[0] = nir_src_for_ssa(base_index); in vtn_resource_reindex()
262 vtn_resource_reindex(struct vtn_builder *b, enum vtn_variable_mode mode, nir_ssa_def *base_index, nir_ssa_def *offset_index) vtn_resource_reindex() argument
/third_party/mesa3d/src/amd/common/
H A 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/
H A 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/
H A 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() local

Completed in 65 milliseconds