Home
last modified time | relevance | path

Searched refs:num_ssbos (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_storagebuf.c51 for (i = 0; i < prog->info.num_ssbos; i++) { in st_bind_ssbos()
78 prog->info.num_ssbos, buffers, in st_bind_ssbos()
82 int num_ssbos = prog->info.num_ssbos; in st_bind_ssbos() local
84 num_ssbos += st->last_used_atomic_bindings[shader_type]; in st_bind_ssbos()
85 if (st->last_num_ssbos[shader_type] > num_ssbos) { in st_bind_ssbos()
88 num_ssbos, in st_bind_ssbos()
89 st->last_num_ssbos[shader_type] - num_ssbos, in st_bind_ssbos()
91 st->last_num_ssbos[shader_type] = num_ssbos; in st_bind_ssbos()
Dst_atom_atomicbuf.c81 unsigned buffer_base = prog->info.num_ssbos; in st_bind_atomics()
Dst_draw_feedback.c276 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo()
495 for (unsigned i = 0; i < prog->info.num_ssbos; i++) { in st_feedback_draw_vbo()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c456 int num_ssbos = draw->pt.user.vs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
458 llvm->jit_context.num_vs_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
459 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
473 int num_ssbos = draw->pt.user.gs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
475 llvm->gs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
476 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
490 int num_ssbos = draw->pt.user.tcs_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
492 llvm->tcs_jit_context.num_ssbos[i] = num_ssbos; in llvm_middle_end_bind_parameters()
493 if (num_ssbos == 0) { in llvm_middle_end_bind_parameters()
507 int num_ssbos = draw->pt.user.tes_ssbos_size[i]; in llvm_middle_end_bind_parameters() local
[all …]
Ddraw_llvm.h279 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
357 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
411 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_root_signature.cpp152 if (key->stages[i].num_ssbos > 0) { in create_root_signature()
156 key->stages[i].num_ssbos, in create_root_signature()
169 key->stages[i].num_ssbos, in create_root_signature()
246 key->stages[i].num_ssbos = shader->nir->info.num_ssbos; in fill_key()
Dd3d12_compute_transforms.cpp97 b.shader->info.num_ssbos = 2; in get_indirect_draw_base_vertex_transform()
149 b.shader->info.num_ssbos = 2; in get_fake_so_buffer_copy_back()
182 b.shader->info.num_ssbos = 2; in get_fake_so_buffer_vertex_count()
209 b.shader->info.num_ssbos = 1; in get_draw_auto()
Dd3d12_root_signature.h37 unsigned num_ssbos; member
/third_party/mesa3d/src/freedreno/ir3/
Dir3_image.c70 return create_immed(ctx->block, ctx->s->info.num_ssbos + image_idx); in ir3_image_to_ibo()
73 if (ctx->s->info.num_ssbos) { in ir3_image_to_ibo()
76 create_immed(ctx->block, ctx->s->info.num_ssbos), 0); in ir3_image_to_ibo()
Dir3_shader.c374 v->num_ssbos = info->num_ssbos; in alloc_variant()
375 v->num_ibos = info->num_ssbos + info->num_images; in alloc_variant()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_image.c164 for (unsigned i = 0; i < v->num_ssbos; i++) { in fd6_build_ibo_state()
169 for (unsigned i = v->num_ssbos; i < v->num_ibos; i++) { in fd6_build_ibo_state()
170 fd6_emit_image_descriptor(ctx, state, &imgso->si[i - v->num_ssbos], true); in fd6_build_ibo_state()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_atomics_to_ssbo.c194 unsigned ssbo_offset = shader->info.num_ssbos; in nir_lower_atomics_to_ssbo()
247 shader->info.num_ssbos = MAX2(shader->info.num_ssbos, in nir_lower_atomics_to_ssbo()
Dnir_lower_amul.c119 assert(idx < state->shader->info.num_ssbos); in large_ssbo()
244 NIR_VLA_FILL(bool, large_ssbos, shader->info.num_ssbos, 0); in nir_lower_amul()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c227 prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks()
248 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in nir_interstage_cross_validate_uniform_blocks()
639 linked->Program->nir->info.num_ssbos = num_ssbo_blocks; in gl_nir_link_uniform_blocks()
640 linked->Program->info.num_ssbos = num_ssbo_blocks; in gl_nir_link_uniform_blocks()
Dgl_nir_lower_buffers.c91 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_array_index()
137 num_blocks = linked_shader->Program->info.num_ssbos; in get_block_index_offset()
Dserialize.cpp144 blob_write_uint32(metadata, glprog->info.num_ssbos); in write_buffer_blocks()
152 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in write_buffer_blocks()
221 glprog->info.num_ssbos = blob_read_uint32(metadata); in read_buffer_blocks()
226 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks()
233 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in read_buffer_blocks()
Dlinker_util.cpp283 total_shader_storage_blocks += sh->Program->info.num_ssbos; in link_util_check_uniform_resources()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shaderlib_nir.c149 b.shader->info.num_ssbos = 1; in si_create_dcc_retile_cs()
197 b.shader->info.num_ssbos = 1; in gfx9_create_clear_dcc_msaa_cs()
245 b.shader->info.num_ssbos = 1; in si_create_clear_buffer_rmw_cs()
Dsi_shader_llvm_resources.c99 if (sel->info.base.num_ubos == 1 && sel->info.base.num_ssbos == 0) { in load_ubo()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_jit.h173 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
450 int num_ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_jit.c285 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, num_ssbos, in lp_jit_create_types()
489 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, num_ssbos, in lp_jit_create_cs_types()
/third_party/mesa3d/src/compiler/
Dshader_info.h156 uint8_t num_ssbos; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_image.c229 emit_image_ssbo(ring, v->num_ssbos + index, &img, in fd5_emit_images()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_image.c250 emit_image_ssbo(ring, v->num_ssbos + index, &img, shader); in fd4_emit_images()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c2225 if (!shader->info.num_ssbos && !shader->info.num_ubos) in unbreak_bos()
2289 if (shader->info.num_ssbos && zs->ssbos_used) { in unbreak_bos()
2293 unsigned num_ssbos = shader->info.num_ssbos - first_ssbo; in unbreak_bos() local
2294 assert(num_ssbos); in unbreak_bos()
2301 … glsl_array_type(glsl_struct_type(fields, field_count, "struct", false), num_ssbos, 0), in unbreak_bos()
2339 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[1]); in analyze_io()
2343 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[0]); in analyze_io()
2362 zs->ssbos_used |= get_src_mask_ssbo(shader->info.num_ssbos, intrin->src[0]); in analyze_io()

123