Searched refs:const_offset (Results 1 - 25 of 45) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_buffer_access.h58 ir_rvalue **offset, unsigned *const_offset,
H A Dlower_shared_reference.cpp141 unsigned const_offset = get_shared_offset(var); local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_rvalue
148 &offset, &const_offset,
168 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major,
209 unsigned const_offset = get_shared_offset(var); local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_assignment
216 &offset, &const_offset,
228 emit_access(mem_ctx, true, deref, store_offset, const_offset, row_major,
369 unsigned const_offset = get_shared_offset(var); local in function:__anon9d6f96a50110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic
377 &offset, &const_offset,
385 add(offset, new(mem_ctx) ir_constant(const_offset));
H A Dlower_ubo_reference.cpp66 unsigned *const_offset,
278 unsigned *const_offset,
317 *const_offset = 0;
319 *const_offset = blocks[i]->Uniforms[var->data.location].Offset;
329 setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major,
350 unsigned const_offset; local in function:__anonf648b2340110::lower_ubo_reference_visitor::handle_rvalue
367 &offset, &const_offset,
388 emit_access(mem_ctx, false, deref, load_offset, const_offset,
566 unsigned const_offset; local in function:__anonf648b2340110::lower_ubo_reference_visitor::write_to_memory
581 &offset, &const_offset,
274 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument
748 unsigned const_offset; local in function:__anonf648b2340110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length
987 unsigned const_offset; local in function:__anonf648b2340110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic
[all...]
H A Dlower_buffer_access.cpp267 * Note: const_offset is an input as well as an output, clients must
276 unsigned *const_offset,
359 *const_offset += array_stride * const_index->value.u[0];
424 *const_offset += intra_struct_offset;
434 *const_offset += deref_swizzle->mask.x * sizeof(int);
273 setup_buffer_access(void * mem_ctx,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,const glsl_struct_field ** struct_field,enum glsl_interface_packing packing) argument
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_buffer_access.h58 ir_rvalue **offset, unsigned *const_offset,
H A Dlower_shared_reference.cpp139 unsigned const_offset = get_shared_offset(var); local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_rvalue
146 &offset, &const_offset,
166 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major,
207 unsigned const_offset = get_shared_offset(var); local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_assignment
214 &offset, &const_offset,
226 emit_access(mem_ctx, true, deref, store_offset, const_offset, row_major,
367 unsigned const_offset = get_shared_offset(var); local in function:__anonc11af5520110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic
375 &offset, &const_offset,
383 add(offset, new(mem_ctx) ir_constant(const_offset));
H A Dlower_ubo_reference.cpp64 unsigned *const_offset,
276 unsigned *const_offset,
315 *const_offset = 0;
317 *const_offset = blocks[i]->Uniforms[var->data.location].Offset;
327 setup_buffer_access(mem_ctx, deref, offset, const_offset, row_major,
348 unsigned const_offset; local in function:__anon515fc8010110::lower_ubo_reference_visitor::handle_rvalue
365 &offset, &const_offset,
386 emit_access(mem_ctx, false, deref, load_offset, const_offset,
564 unsigned const_offset; local in function:__anon515fc8010110::lower_ubo_reference_visitor::write_to_memory
579 &offset, &const_offset,
272 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument
746 unsigned const_offset; local in function:__anon515fc8010110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length
985 unsigned const_offset; local in function:__anon515fc8010110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic
[all...]
H A Dlower_buffer_access.cpp267 * Note: const_offset is an input as well as an output, clients must
276 unsigned *const_offset,
359 *const_offset += array_stride * const_index->value.u[0];
424 *const_offset += intra_struct_offset;
434 *const_offset += deref_swizzle->mask.x * sizeof(int);
273 setup_buffer_access(void * mem_ctx,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,const glsl_struct_field ** struct_field,enum glsl_interface_packing packing) argument
/xsrc/external/mit/MesaLib/dist/src/freedreno/ir3/
H A Dir3_nir_analyze_ubo_ranges.c195 * vec1 32 ssa_33 = iadd ssa_base, const_offset
198 * Detect this, and peel out the const_offset part, to end up with:
200 * vec4 32 ssa_34 = intrinsic load_uniform (ssa_base) (base=N+const_offset,
205 * vec1 32 ssa_33 = imad24_ir3 a, b, const_offset
211 * vec4 32 ssa_34 = intrinsic load_uniform (ssa_base) (base=N+const_offset,
297 int const_offset = 0; local in function:lower_ubo_load_to_uniform
299 handle_partial_const(b, &ubo_offset, &const_offset);
317 debug_assert(!(const_offset & 0x3));
318 const_offset >>= 2;
321 const_offset
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_shader_info.c68 uint32_t const_offset = 0; local in function:get_deref_offset
77 const_offset += glsl_count_attribute_slots(ft, false);
82 const_offset += nir_src_as_uint(path.path[idx_lvl]->arr.index) * size;
87 *const_out = const_offset;
134 unsigned const_offset = 0; local in function:set_output_usage_mask
136 get_deref_offset(deref_instr, &const_offset);
140 const_offset += comp;
141 output_usage_mask[idx + const_offset / 4] |= 1 << (const_offset % 4);
150 output_usage_mask[idx + i + const_offset] |
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dgen6_constant_state.c252 uint32_t const_offset; local in function:brw_upload_pull_constants
254 &const_bo, &const_offset);
271 const_bo, const_offset,
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dgfx6_constant_state.c257 uint32_t const_offset; local in function:brw_upload_pull_constants
259 &const_bo, &const_offset);
276 const_bo, const_offset,
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_lower_mem_access_bit_sizes.c184 const unsigned const_offset = local in function:lower_mem_store_bit_size
211 (offset_is_const && (start + const_offset) % 4 == 0);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/sfn/
H A Dsfn_emitssboinstruction.cpp634 auto const_offset = nir_src_as_const_value(intrin->src[0]); local in function:r600::EmitSSBOInstruction::emit_image_size
637 if (const_offset)
638 res_id += const_offset[0].u32;
657 if (const_offset) {
658 unsigned lookup_resid = const_offset[0].u32;
705 auto const_offset = nir_src_as_const_value(intr->src[0]); local in function:r600::EmitSSBOInstruction::emit_buffer_size
708 if (const_offset)
709 res_id += const_offset[0].u32;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dspirv_builder.h285 SpvId const_offset,
324 SpvId const_offset,
334 SpvId const_offset,
H A Dspirv_builder.c756 SpvId const_offset,
787 assert(!(const_offset && offset));
788 if (const_offset) {
789 extra_operands[num_extra_operands++] = const_offset;
924 SpvId const_offset,
942 assert(!(const_offset && offset));
943 if (const_offset) {
944 extra_operands[num_extra_operands++] = const_offset;
978 SpvId const_offset,
994 assert(!(const_offset
746 spirv_builder_emit_image_sample(struct spirv_builder * b,SpvId result_type,SpvId sampled_image,SpvId coordinate,bool proj,SpvId lod,SpvId bias,SpvId dref,SpvId dx,SpvId dy,SpvId const_offset,SpvId offset) argument
917 spirv_builder_emit_image_gather(struct spirv_builder * b,SpvId result_type,SpvId image,SpvId coordinate,SpvId component,SpvId lod,SpvId sample,SpvId const_offset,SpvId offset,SpvId dref) argument
972 spirv_builder_emit_image_fetch(struct spirv_builder * b,SpvId result_type,SpvId image,SpvId coordinate,SpvId lod,SpvId sample,SpvId const_offset,SpvId offset) argument
[all...]
/xsrc/external/mit/xf86-video-ati/dist/src/
H A Devergreen_exa.c792 int const_offset = unit * 8; local in function:EVERGREENXFormSetup
807 vs_alu_consts[0 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][0]);
808 vs_alu_consts[1 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][1]);
809 vs_alu_consts[2 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][2]);
810 vs_alu_consts[3 + const_offset] = 1.0 / w;
812 vs_alu_consts[4 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][0]);
813 vs_alu_consts[5 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][1]);
814 vs_alu_consts[6 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][2]);
815 vs_alu_consts[7 + const_offset] = 1.0 / h;
819 vs_alu_consts[0 + const_offset]
[all...]
/xsrc/external/mit/xf86-video-ati-kms/dist/src/
H A Devergreen_exa.c806 int const_offset = unit * 8; local in function:EVERGREENXFormSetup
821 vs_alu_consts[0 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][0]);
822 vs_alu_consts[1 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][1]);
823 vs_alu_consts[2 + const_offset] = xFixedToFloat(pPict->transform->matrix[0][2]);
824 vs_alu_consts[3 + const_offset] = 1.0 / w;
826 vs_alu_consts[4 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][0]);
827 vs_alu_consts[5 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][1]);
828 vs_alu_consts[6 + const_offset] = xFixedToFloat(pPict->transform->matrix[1][2]);
829 vs_alu_consts[7 + const_offset] = 1.0 / h;
833 vs_alu_consts[0 + const_offset]
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_nir_lower_mem_access_bit_sizes.c179 const unsigned const_offset = local in function:lower_mem_store_bit_size
203 (offset_is_const && (start + const_offset) % 4 == 0);
/xsrc/external/mit/MesaLib/dist/src/broadcom/compiler/
H A Dnir_to_vir.c344 uint32_t *const_offset,
374 *const_offset = base_const_offset + first_component * 4;
435 uint32_t const_offset,
459 if (const_offset != 0) {
461 vir_uniform_ui(c, const_offset));
466 if (const_offset != 0) {
468 vir_uniform_ui(c, const_offset));
534 uint32_t const_offset = 0; local in function:ntq_emit_tmu_general
536 const_offset = nir_src_as_uint(instr->src[offset_src]);
540 const_offset
339 emit_tmu_general_store_writes(struct v3d_compile * c,enum emit_mode mode,nir_intrinsic_instr * instr,uint32_t base_const_offset,uint32_t * writemask,uint32_t * const_offset,uint32_t * tmu_writes) argument
428 emit_tmu_general_address_write(struct v3d_compile * c,enum emit_mode mode,nir_intrinsic_instr * instr,uint32_t config,bool dynamic_src,int offset_src,struct qreg base_offset,uint32_t const_offset,uint32_t * tmu_writes) argument
2721 uint32_t const_offset = local in function:ntq_emit_load_ubo_unifa
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/broadcom/compiler/
H A Dnir_to_vir.c227 uint32_t const_offset = 0; local in function:ntq_emit_tmu_general
229 const_offset = nir_src_as_uint(instr->src[offset_src]);
239 const_offset += nir_intrinsic_base(instr);
241 v3d_unit_data_create(0, const_offset));
242 const_offset = 0;
249 v3d_unit_data_create(index, const_offset));
250 const_offset = 0;
261 const_offset += nir_intrinsic_base(instr);
302 if (const_offset != 0) {
304 vir_uniform_ui(c, const_offset));
[all...]
/xsrc/external/mit/MesaLib/dist/src/asahi/compiler/
H A Dagx_compile.c332 int32_t const_offset = offset_is_const ? nir_src_as_int(*offset) : 0; local in function:agx_emit_load_ubo
336 assert((const_offset & (bytes - 1)) == 0);
337 const_offset = const_offset / bytes;
338 int16_t const_as_16 = const_offset;
358 (offset_is_const && (const_offset == const_as_16)) ?
359 agx_immediate(const_as_16) : agx_mov_imm(b, 32, const_offset),
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/
H A Daco_statistics.cpp237 bool const_offset = local in function:aco::get_wait_counter_info
240 if (likely_desc_load || const_offset)
H A Daco_instruction_selection.cpp3339 nir_const_value* const_offset = nir_src_as_const_value(instr->src[1].src); local in function:aco::__anon562fcc110110::visit_alu_instr
3341 if (const_offset && const_bits) {
3342 uint32_t extract = (const_bits->u32 << 16) | (const_offset->u32 & 0x1f);
3360 Operand offset_op = const_offset
3361 ? Operand::c32(const_offset->u32 & 0x1fu)
3637 unsigned const_offset = 0; member in struct:aco::__anon562fcc110110::LoadEmitInfo
3650 unsigned bytes_needed, unsigned align, unsigned const_offset,
3669 unsigned const_offset = info.const_offset; local in function:aco::__anon562fcc110110::emit_load
3672 unsigned align_offset = (info.align_offset + const_offset)
3918 lds_load_callback(Builder & bld,const LoadEmitInfo & info,Temp offset,unsigned bytes_needed,unsigned align,unsigned const_offset,Temp dst_hint) argument
3988 smem_load_callback(Builder & bld,const LoadEmitInfo & info,Temp offset,unsigned bytes_needed,unsigned align,unsigned const_offset,Temp dst_hint) argument
4030 mubuf_load_callback(Builder & bld,const LoadEmitInfo & info,Temp offset,unsigned bytes_needed,unsigned align_,unsigned const_offset,Temp dst_hint) argument
4099 global_load_callback(Builder & bld,const LoadEmitInfo & info,Temp offset,unsigned bytes_needed,unsigned align_,unsigned const_offset,Temp dst_hint) argument
4532 resolve_excess_vmem_const_offset(Builder & bld,Temp & voffset,unsigned const_offset) argument
4553 emit_single_mubuf_store(isel_context * ctx,Temp descriptor,Temp voffset,Temp soffset,Temp vdata,unsigned const_offset=0u,memory_sync_info sync=memory_sync_info (),bool slc=false,bool swizzled=false) argument
4594 unsigned const_offset = offsets[i] + base_const_offset; local in function:aco::__anon562fcc110110::store_vmem_mubuf
7011 unsigned const_offset = nir_intrinsic_base(intrin); local in function:aco::__anon562fcc110110::visit_load_buffer
7031 unsigned const_offset = nir_intrinsic_base(intrin); local in function:aco::__anon562fcc110110::visit_store_buffer
7424 unsigned const_offset = (offset + (next_vertex_cv ? next_vertex_cv->u32 : 0u)) * 4u; local in function:aco::__anon562fcc110110::visit_emit_vertex_with_counter
9230 nir_const_value* const_offset[4] = {NULL, NULL, NULL, NULL}; local in function:aco::__anon562fcc110110::visit_tex
11722 unsigned const_offset = offset * args->shader_info->gs.vertices_out * 16 * 4; local in function:aco::select_gs_copy_shader
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dir2_nir.c596 ASSERTED nir_const_value *const_offset; local in function:emit_intrinsic
608 const_offset = nir_src_as_const_value(intr->src[0]);
609 assert(const_offset); /* TODO can be false in ES2? */
611 idx += (uint32_t)const_offset[0].f32;

Completed in 114 milliseconds

12