Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dconfig.h168 #define ATOMIC_COUNTER_SIZE 4 macro
Dbufferobj.c4043 if (offset & (ATOMIC_COUNTER_SIZE - 1)) { in bind_buffer_range_atomic_buffer_err()
4046 ATOMIC_COUNTER_SIZE); in bind_buffer_range_atomic_buffer_err()
4678 if (offsets[i] & (ATOMIC_COUNTER_SIZE - 1)) { in bind_atomic_buffers()
4683 i, (int64_t) offsets[i], ATOMIC_COUNTER_SIZE); in bind_atomic_buffers()
Dcontext.c619 consts->MaxAtomicBufferSize = MAX_ATOMIC_COUNTERS * ATOMIC_COUNTER_SIZE; in _mesa_init_constants()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_atomics.c120 unsigned array_stride = ATOMIC_COUNTER_SIZE; in lower_deref_instr()
Dast_to_hir.cpp3847 if (*offset % ATOMIC_COUNTER_SIZE) in apply_layout_qualifier_to_variable()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir.cpp545 current_offset += var->type->atomic_size() / ATOMIC_COUNTER_SIZE; in r600_nir_lower_atomics()
549 current_offset = var->type->atomic_size() / ATOMIC_COUNTER_SIZE; in r600_nir_lower_atomics()
Dsfn_shader_base.cpp253 int natomics = uniform->type->atomic_size() / ATOMIC_COUNTER_SIZE; in process_uniforms()
/third_party/mesa3d/src/compiler/
Dglsl_types.h1094 return ATOMIC_COUNTER_SIZE; in atomic_size()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp3528 buffer.index += location->data.offset / ATOMIC_COUNTER_SIZE; in visit_atomic_counter_intrinsic()
3547 offset, st_src_reg_for_int(ATOMIC_COUNTER_SIZE)); in visit_atomic_counter_intrinsic()
3549 offset, st_src_reg_for_int(location->data.offset + index * ATOMIC_COUNTER_SIZE)); in visit_atomic_counter_intrinsic()
3551 offset = st_src_reg_for_int(location->data.offset + index * ATOMIC_COUNTER_SIZE); in visit_atomic_counter_intrinsic()
7047 int base = uni_storage->offset / ATOMIC_COUNTER_SIZE; in st_translate_program()
Dst_extensions.c525 c->MaxAtomicBufferSize = ATOMIC_COUNTER_SIZE * in st_init_limits()