Searched refs:ssbos (Results 1 - 25 of 31) sorted by relevance

12

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state_cs.h146 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_cs_context
H A Dlp_context.h91 struct pipe_shader_buffer ssbos[PIPE_SHADER_TYPES][LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:llvmpipe_context
H A Dlp_state_derived.c334 ARRAY_SIZE(llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]),
335 llvmpipe->ssbos[PIPE_SHADER_FRAGMENT]);
H A Dlp_setup.c688 assert(num <= ARRAY_SIZE(setup->ssbos));
691 util_copy_shader_buffer(&setup->ssbos[i].current, &buffers[i]);
693 for (; i < ARRAY_SIZE(setup->ssbos); i++) {
694 util_copy_shader_buffer(&setup->ssbos[i].current, NULL);
1163 for (i = 0; i < ARRAY_SIZE(setup->ssbos); i++) {
1164 if (setup->ssbos[i].current.buffer == texture)
1323 for (i = 0; i < ARRAY_SIZE(setup->ssbos); ++i) {
1324 struct pipe_resource *buffer = setup->ssbos[i].current.buffer;
1332 current_data += setup->ssbos[i].current.buffer_offset;
1334 setup->fs.current.jit_context.ssbos[
[all...]
H A Dlp_state_cs.c1107 assert (num <= ARRAY_SIZE(csctx->ssbos));
1110 util_copy_shader_buffer(&csctx->ssbos[i].current, &buffers[i]);
1112 for (; i < ARRAY_SIZE(csctx->ssbos); i++) {
1113 util_copy_shader_buffer(&csctx->ssbos[i].current, NULL);
1231 for (i = 0; i < ARRAY_SIZE(csctx->ssbos); ++i) {
1232 struct pipe_resource *buffer = csctx->ssbos[i].current.buffer;
1240 current_data += csctx->ssbos[i].current.buffer_offset;
1242 csctx->cs.current.jit_context.ssbos[i] = (const uint32_t *)current_data;
1243 csctx->cs.current.jit_context.num_ssbos[i] = csctx->ssbos[i].current.buffer_size;
1245 csctx->cs.current.jit_context.ssbos[
[all...]
H A Dlp_setup_context.h156 } ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_setup_context
H A Dlp_jit.h169 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_jit_context
236 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CTX_SSBOS, "ssbos")
443 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_jit_cs_context
487 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CS_CTX_SSBOS, "ssbos")
H A Dlp_context.c92 pipe_resource_reference(&llvmpipe->ssbos[s][i].buffer, NULL);
H A Dlp_jit.c282 LP_CHECK_MEMBER_OFFSET(struct lp_jit_context, ssbos,
486 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, ssbos,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/
H A Dvirgl_context.h84 struct pipe_resource *ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; member in struct:virgl_context
H A Dvirgl_context.c166 res = virgl_resource(vctx->ssbos[shader_type][i]);
1057 pipe_resource_reference(&vctx->ssbos[shader][idx], buffers[i].buffer);
1061 pipe_resource_reference(&vctx->ssbos[shader][idx], NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_context.h62 struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS]; member in struct:virgl_shader_binding_state
H A Dvirgl_context.c151 if (binding->ssbos[i].buffer == res) {
152 const struct pipe_shader_buffer *ssbo = &binding->ssbos[i];
283 res = virgl_resource(binding->ssbos[i].buffer);
1275 pipe_resource_reference(&binding->ssbos[idx].buffer, buffers[i].buffer);
1276 binding->ssbos[idx] = buffers[i];
1279 pipe_resource_reference(&binding->ssbos[idx].buffer, NULL);
1444 pipe_resource_reference(&binding->ssbos[i].buffer, NULL);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/
H A Ddraw_pt_fetch_shade_pipeline_llvm.c480 for (i = 0; i < ARRAY_SIZE(llvm->gs_jit_context.ssbos); ++i) {
482 llvm->gs_jit_context.ssbos[i] = draw->pt.user.gs_ssbos[i];
485 llvm->gs_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf;
497 for (i = 0; i < ARRAY_SIZE(llvm->tcs_jit_context.ssbos); ++i) {
499 llvm->tcs_jit_context.ssbos[i] = draw->pt.user.tcs_ssbos[i];
502 llvm->tcs_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf;
514 for (i = 0; i < ARRAY_SIZE(llvm->tes_jit_context.ssbos); ++i) {
516 llvm->tes_jit_context.ssbos[i] = draw->pt.user.tes_ssbos[i];
519 llvm->tes_jit_context.ssbos[i] = (const uint32_t *)fake_const_buf;
H A Ddraw_llvm.h278 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:draw_gs_jit_context
336 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_GS_JIT_CTX_SSBOS, "ssbos")
356 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:draw_tcs_jit_context
390 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_TCS_JIT_CTX_SSBOS, "ssbos")
410 const uint32_t *ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:draw_tes_jit_context
444 lp_build_struct_get_ptr(_gallivm, _ptr, DRAW_TES_JIT_CTX_SSBOS, "ssbos")
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_context.h213 struct pipe_shader_buffer ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; member in struct:zink_context
311 VkDescriptorBufferInfo ssbos[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_BUFFERS]; member in struct:zink_context::__anonffe3f6a50b08
H A Dzink_context.c490 ctx->di.ssbos[shader][slot].offset = ctx->ssbos[shader][slot].buffer_offset;
492 ctx->di.ssbos[shader][slot].buffer = res->obj->buffer;
493 ctx->di.ssbos[shader][slot].range = ctx->ssbos[shader][slot].buffer_size;
496 ctx->di.ssbos[shader][slot].buffer = have_null_descriptors ? VK_NULL_HANDLE : null_buffer;
497 ctx->di.ssbos[shader][slot].range = VK_WHOLE_SIZE;
1164 struct pipe_shader_buffer *ssbo = &ctx->ssbos[p_stage][start_slot + i];
3694 const struct pipe_shader_buffer *ssbo = &ctx->ssbos[shader][slot];
3807 struct pipe_shader_buffer *ssbo = &ctx->ssbos[shade
[all...]
H A Dzink_descriptors.c1348 info = &ctx->di.ssbos[stage][index];
1544 struct pipe_shader_buffer *ssbo = &ctx->ssbos[shader][idx];
H A Dzink_descriptors_lazy.c111 entry->offset = offsetof(struct zink_context, di.ssbos[stage][index + offset]);
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/
H A Dlp_bld_nir.h231 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_build_nir_soa_context
H A Dlp_bld_tgsi.h537 LLVMValueRef ssbos[LP_MAX_TGSI_SHADER_BUFFERS]; member in struct:lp_build_tgsi_soa_context
H A Dlp_bld_tgsi_soa.c2966 bld->ssbos[idx] =
3503 scalar_ptr = is_shared ? bld->shared_ptr : bld->ssbos[buf];
3622 scalar_ptr = is_shared ? bld->shared_ptr : bld->ssbos[buf];
3816 scalar_ptr = bld->ssbos[buf];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/iris/
H A Diris_resolve.c394 uint32_t ssbos = shs->bound_ssbos; local in function:flush_ssbos
396 while (ssbos) {
397 const int i = u_bit_scan(&ssbos);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c57 SpvId ssbos[PIPE_MAX_SHADER_BUFFERS][3]; //8, 16, 32 member in struct:ntv_context
976 assert(idx < ARRAY_SIZE(ctx->ssbos[0]));
986 assert(!ctx->ssbos[var->data.driver_location][idx]);
987 ctx->ssbos[var->data.driver_location][idx] = var_id;
1953 assert(idx < ARRAY_SIZE(ctx->ssbos[0]));
1954 if (!ctx->ssbos[const_block_index->u32][idx])
1961 SpvId bo = ssbo ? ctx->ssbos[const_block_index->u32][idx] : ctx->ubos[const_block_index->u32][idx];
2062 assert(idx < ARRAY_SIZE(ctx->ssbos[0]));
2063 if (!ctx->ssbos[const_block_index->u32][idx])
2065 SpvId bo = ctx->ssbos[const_block_inde
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/cso_cache/
H A Dcso_context.c305 static struct pipe_shader_buffer ssbos[PIPE_MAX_SHADER_BUFFERS] = { 0 }; local in function:cso_unbind_context
350 ctx->pipe->set_shader_buffers(ctx->pipe, sh, 0, maxssbo, ssbos, 0);

Completed in 82 milliseconds

12