/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_fetch_shade_pipeline_llvm.c | 480 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()
|
D | draw_llvm.h | 270 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
|
D | draw_llvm.c | 434 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/ |
D | lp_setup.c | 662 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 …]
|
D | lp_state_cs.c | 1074 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 …]
|
D | lp_state_derived.c | 266 ARRAY_SIZE(llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]), in llvmpipe_update_derived() 267 llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]); in llvmpipe_update_derived()
|
D | lp_jit.h | 167 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member 340 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_state_cs.h | 143 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_context.h | 91 struct pipe_shader_buffer ssbos[PIPE_SHADER_TYPES][LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_setup_context.h | 150 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_jit.c | 275 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()
|
D | lp_context.c | 92 pipe_resource_reference(&llvmpipe->ssbos[s][i].buffer, NULL); in llvmpipe_destroy()
|
D | lp_state_fs.c | 3852 util_copy_shader_buffer(&llvmpipe->ssbos[shader][i], buffer); in llvmpipe_set_shader_buffers()
|
/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_context.h | 62 struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS]; member
|
D | virgl_context.c | 148 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/ |
D | lp_bld_nir.h | 217 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_bld_tgsi.h | 532 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member
|
D | lp_bld_tgsi_soa.c | 2966 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/ |
D | cso_context.c | 374 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/ |
D | ContextVk.cpp | 1803 const std::vector<gl::InterfaceBlock> &ssbos = programState.getShaderStorageBlocks(); in handleDirtyShaderResourcesImpl() local 1804 for (const gl::InterfaceBlock &ssbo : ssbos) in handleDirtyShaderResourcesImpl()
|
/external/mesa3d/docs/relnotes/ |
D | 19.1.0.rst | 2880 - iris: fix for disabling ssbos
|
D | 20.2.0.rst | 1856 - nir/lower_amul: Use num_ubos/ssbos instead of recomputing it.
|