Home
last modified time | relevance | path

Searched refs:ssbos (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_shade_pipeline_llvm.c480 for (i = 0; i < ARRAY_SIZE(llvm->gs_jit_context.ssbos); ++i) { in llvm_middle_end_bind_parameters()
482 llvm->gs_jit_context.ssbos[i] = draw->pt.user.gs_ssbos[i]; in llvm_middle_end_bind_parameters()
485 llvm->gs_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf; in llvm_middle_end_bind_parameters()
497 for (i = 0; i < ARRAY_SIZE(llvm->tcs_jit_context.ssbos); ++i) { in llvm_middle_end_bind_parameters()
499 llvm->tcs_jit_context.ssbos[i] = draw->pt.user.tcs_ssbos[i]; in llvm_middle_end_bind_parameters()
502 llvm->tcs_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf; in llvm_middle_end_bind_parameters()
514 for (i = 0; i < ARRAY_SIZE(llvm->tes_jit_context.ssbos); ++i) { in llvm_middle_end_bind_parameters()
516 llvm->tes_jit_context.ssbos[i] = draw->pt.user.tes_ssbos[i]; in llvm_middle_end_bind_parameters()
519 llvm->tes_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf; in llvm_middle_end_bind_parameters()
Ddraw_llvm.h270 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
344 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
392 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Ddraw_llvm.c434 LP_CHECK_MEMBER_OFFSET(struct draw_gs_jit_context, ssbos, in create_gs_jit_context_type()
593 LP_CHECK_MEMBER_OFFSET(struct draw_tcs_jit_context, ssbos, in create_tcs_jit_context_type()
693 LP_CHECK_MEMBER_OFFSET(struct draw_tes_jit_context, ssbos, in create_tes_jit_context_type()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.c662 assert(num <= ARRAY_SIZE(setup->ssbos)); in lp_setup_set_fs_ssbos()
665 util_copy_shader_buffer(&setup->ssbos[i].current, &buffers[i]); in lp_setup_set_fs_ssbos()
667 for (; i < ARRAY_SIZE(setup->ssbos); i++) { in lp_setup_set_fs_ssbos()
668 util_copy_shader_buffer(&setup->ssbos[i].current, NULL); in lp_setup_set_fs_ssbos()
1091 for (i = 0; i < ARRAY_SIZE(setup->ssbos); i++) { in lp_setup_is_resource_referenced()
1092 if (setup->ssbos[i].current.buffer == texture) in lp_setup_is_resource_referenced()
1245 for (i = 0; i < ARRAY_SIZE(setup->ssbos); ++i) { in try_update_scene_state()
1246 struct pipe_resource *buffer = setup->ssbos[i].current.buffer; in try_update_scene_state()
1254 current_data += setup->ssbos[i].current.buffer_offset; in try_update_scene_state()
1256 setup->fs.current.jit_context.ssbos[i] = (const uint32_t *)current_data; in try_update_scene_state()
[all …]
Dlp_state_cs.c1074 assert (num <= ARRAY_SIZE(csctx->ssbos)); in lp_csctx_set_cs_ssbos()
1077 util_copy_shader_buffer(&csctx->ssbos[i].current, &buffers[i]); in lp_csctx_set_cs_ssbos()
1079 for (; i < ARRAY_SIZE(csctx->ssbos); i++) { in lp_csctx_set_cs_ssbos()
1080 util_copy_shader_buffer(&csctx->ssbos[i].current, NULL); in lp_csctx_set_cs_ssbos()
1194 for (i = 0; i < ARRAY_SIZE(csctx->ssbos); ++i) { in update_csctx_ssbo()
1195 struct pipe_resource *buffer = csctx->ssbos[i].current.buffer; in update_csctx_ssbo()
1203 current_data += csctx->ssbos[i].current.buffer_offset; in update_csctx_ssbo()
1205 csctx->cs.current.jit_context.ssbos[i] = (const uint32_t *)current_data; in update_csctx_ssbo()
1206 csctx->cs.current.jit_context.num_ssbos[i] = csctx->ssbos[i].current.buffer_size; in update_csctx_ssbo()
1208 csctx->cs.current.jit_context.ssbos[i] = NULL; in update_csctx_ssbo()
[all …]
Dlp_state_derived.c266 ARRAY_SIZE(llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]), in llvmpipe_update_derived()
267 llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
Dlp_jit.h167 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
340 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_state_cs.h143 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_context.h91 struct pipe_shader_buffer ssbos[PIPE_SHADER_TYPES][LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_setup_context.h150 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_jit.c275 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, ssbos, in lp_jit_create_types()
405 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, ssbos, in lp_jit_create_cs_types()
Dlp_context.c92 pipe_resource_reference(&llvmpipe->ssbos[s][i].buffer, NULL); in llvmpipe_destroy()
Dlp_state_fs.c3852 util_copy_shader_buffer(&llvmpipe->ssbos[shader][i], buffer); in llvmpipe_set_shader_buffers()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.h62 struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS]; member
Dvirgl_context.c148 if (binding->ssbos[i].buffer == res) { in virgl_rebind_resource()
149 const struct pipe_shader_buffer *ssbo = &binding->ssbos[i]; in virgl_rebind_resource()
280 res = virgl_resource(binding->ssbos[i].buffer); in virgl_attach_res_shader_buffers()
1215 pipe_resource_reference(&binding->ssbos[idx].buffer, buffers[i].buffer); in virgl_set_shader_buffers()
1216 binding->ssbos[idx] = buffers[i]; in virgl_set_shader_buffers()
1219 pipe_resource_reference(&binding->ssbos[idx].buffer, NULL); in virgl_set_shader_buffers()
1367 pipe_resource_reference(&binding->ssbos[i].buffer, NULL); in virgl_release_shader_binding()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.h217 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_bld_tgsi.h532 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
Dlp_bld_tgsi_soa.c2966 bld->ssbos[idx] = in lp_emit_declaration_soa()
3503 scalar_ptr = is_shared ? bld->shared_ptr : bld->ssbos[buf]; in load_emit()
3622 scalar_ptr = is_shared ? bld->shared_ptr : bld->ssbos[buf]; in store_emit()
3816 scalar_ptr = bld->ssbos[buf]; in atomic_emit()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_context.c374 static struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS] = { 0 }; in cso_destroy_context() local
419 ctx->pipe->set_shader_buffers(ctx->pipe, sh, 0, maxssbo, ssbos, 0); in cso_destroy_context()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp1803 const std::vector<gl::InterfaceBlock> &ssbos = programState.getShaderStorageBlocks(); in handleDirtyShaderResourcesImpl() local
1804 for (const gl::InterfaceBlock &ssbo : ssbos) in handleDirtyShaderResourcesImpl()
/external/mesa3d/docs/relnotes/
D19.1.0.rst2880 - iris: fix for disabling ssbos
D20.2.0.rst1856 - nir/lower_amul: Use num_ubos/ssbos instead of recomputing it.