Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_storagebuf.c58 for (i = 0; i < prog->info.num_ssbos; i++) { in st_bind_ssbos()
85 prog->info.num_ssbos, buffers); in st_bind_ssbos()
87 if (prog->info.num_ssbos < c->MaxShaderStorageBlocks) in st_bind_ssbos()
90 buffer_base + prog->info.num_ssbos, in st_bind_ssbos()
91 c->MaxShaderStorageBlocks - prog->info.num_ssbos, in st_bind_ssbos()
Dst_program.c89 if (prog->info.num_ssbos) in set_affected_state_flags()
Dst_glsl_to_tgsi.cpp6615 assert(prog->info.num_ssbos <= frag_const->MaxShaderStorageBlocks); in st_translate_program()
6616 for (i = 0; i < prog->info.num_ssbos; i++) { in st_translate_program()
/external/mesa3d/src/compiler/
Dshader_info.h64 unsigned num_ssbos; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_program.c776 if (prog->info.num_ssbos || prog->info.num_abos) { in brw_assign_common_binding_table_offsets()
778 assert(prog->info.num_ssbos <= BRW_MAX_SSBO); in brw_assign_common_binding_table_offsets()
780 next_binding_table_offset += prog->info.num_abos + prog->info.num_ssbos; in brw_assign_common_binding_table_offsets()
Dbrw_wm_surface_state.c1282 prog->info.num_ssbos == 0 && in brw_upload_ubo_surfaces()
1307 for (int i = 0; i < prog->info.num_ssbos; i++) { in brw_upload_ubo_surfaces()
/external/mesa3d/src/compiler/glsl/
Dserialize.cpp143 blob_write_uint32(metadata, glprog->info.num_ssbos); in write_buffer_blocks()
151 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in write_buffer_blocks()
219 glprog->info.num_ssbos = blob_read_uint32(metadata); in read_buffer_blocks()
224 rzalloc_array(glprog, gl_uniform_block *, glprog->info.num_ssbos); in read_buffer_blocks()
231 for (unsigned j = 0; j < glprog->info.num_ssbos; j++) { in read_buffer_blocks()
Dlinker.cpp1200 prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks()
1221 sh_num_blocks = prog->_LinkedShaders[i]->Program->info.num_ssbos; in interstage_cross_validate_uniform_blocks()
2374 linked->Program->info.num_ssbos = num_ssbo_blocks; in link_intrastage_shaders()
3191 total_shader_storage_blocks += sh->Program->info.num_ssbos; in check_resources()
3204 if (max_shader_storage_blocks < sh->Program->info.num_ssbos) { in check_resources()
3207 sh->Program->info.num_ssbos, max_shader_storage_blocks); in check_resources()
3317 total_shader_storage_blocks += sh->Program->info.num_ssbos; in check_image_resources()
Dlower_ubo_reference.cpp295 num_blocks = shader->Program->info.num_ssbos; in setup_for_load_or_store()
Dlink_uniforms.cpp1049 shader->Program->info.num_ubos : shader->Program->info.num_ssbos; in link_update_uniform_buffer_variables()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c88 const unsigned num_ssbos = util_last_bit(ctx->shaderbuf[stage].enabled_mask); in rebind_resource() local
89 for (unsigned i = 0; i < num_ssbos; i++) { in rebind_resource()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp496 nir->info.num_ssbos - 1); in nir_emit_intrinsic()
662 nir->info.num_ssbos - 1); in nir_emit_intrinsic()
937 nir->info.num_ssbos - 1); in nir_emit_ssbo_atomic()
Dbrw_fs_nir.cpp4048 nir->info.num_ssbos - 1); in nir_emit_intrinsic()
4088 nir->info.num_ssbos - 1); in nir_emit_intrinsic()
4491 nir->info.num_ssbos - 1); in nir_emit_ssbo_atomic()
/external/mesa3d/src/mesa/program/
Dprog_to_nir.c1053 s->info.num_ssbos = 0; in prog_to_nir()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c437 if (nir->info.num_ssbos > 0 || nir->info.num_images > 0) in anv_pipeline_compile()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1717 b->shader->info.num_ssbos++; in vtn_create_variable()