Home
last modified time | relevance | path

Searched refs:esgs_ring (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c67 LLVMValueRef ptr = ac_build_gep0(&ctx->ac, ctx->esgs_ring, vtx_offset); in si_llvm_load_input_gs()
80 value = ac_build_buffer_load(&ctx->ac, ctx->esgs_ring, 1, ctx->ac.i32_0, vtx_offset, soffset, 0, in si_llvm_load_input_gs()
178 ac_build_indexed_store(&ctx->ac, ctx->esgs_ring, idx, out_val); in si_llvm_emit_es_epilogue()
182 ac_build_buffer_store_dword(&ctx->ac, ctx->esgs_ring, out_val, 1, NULL, in si_llvm_emit_es_epilogue()
323 ctx->esgs_ring = ac_build_load_to_sgpr(&ctx->ac, buf_ptr, offset); in si_preload_esgs_ring()
330 ctx->esgs_ring = ctx->ac.lds; in si_preload_esgs_ring()
Dsi_state_shaders.c3606 (!sctx->esgs_ring || sctx->esgs_ring->width0 < esgs_ring_size); in si_update_gs_ring_buffers()
3614 pipe_resource_reference(&sctx->esgs_ring, NULL); in si_update_gs_ring_buffers()
3615 sctx->esgs_ring = in si_update_gs_ring_buffers()
3620 if (!sctx->esgs_ring) in si_update_gs_ring_buffers()
3636 if (sctx->esgs_ring) { in si_update_gs_ring_buffers()
3638 si_set_ring_buffer(sctx, SI_ES_RING_ESGS, sctx->esgs_ring, 0, sctx->esgs_ring->width0, true, in si_update_gs_ring_buffers()
3640 si_set_ring_buffer(sctx, SI_GS_RING_ESGS, sctx->esgs_ring, 0, sctx->esgs_ring->width0, false, in si_update_gs_ring_buffers()
3659 if (sctx->esgs_ring) { in si_update_gs_ring_buffers()
3662 sctx->esgs_ring->width0 / 256); in si_update_gs_ring_buffers()
3679 if (sctx->esgs_ring) { in si_update_gs_ring_buffers()
[all …]
Dsi_shader_internal.h144 LLVMValueRef esgs_ring; member
Dsi_shader_llvm.c341 if (ctx->esgs_ring) in si_llvm_declare_esgs_ring()
346 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in si_llvm_declare_esgs_ring()
348 LLVMSetLinkage(ctx->esgs_ring, LLVMExternalLinkage); in si_llvm_declare_esgs_ring()
349 LLVMSetAlignment(ctx->esgs_ring, 64 * 1024); in si_llvm_declare_esgs_ring()
Dsi_pipe.h1059 struct pipe_resource *esgs_ring; member
Dsi_pipe.c203 pipe_resource_reference(&sctx->esgs_ring, NULL); in si_destroy_context()
Dgfx10_shader_ngg.c650 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, ctx->esgs_ring, pai32, ""); in ngg_nogs_vertex_ptr()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c64 LLVMValueRef esgs_ring; member
388 return ctx->esgs_ring; in load_ring_esgs()
1621 ac_build_gep0(&ctx->ac, ctx->esgs_ring, provoking_vtx_index)); in handle_ngg_outputs_post_2()
1675 tmp = ac_build_gep0(&ctx->ac, ctx->esgs_ring, get_thread_id_in_tg(ctx)); in handle_ngg_outputs_post_2()
2262 ctx->esgs_ring = ac_build_load_to_sgpr(&ctx->ac, ctx->ring_offsets, offset); in ac_setup_rings()
2375 if (ctx->esgs_ring) in declare_esgs_ring()
2380 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in declare_esgs_ring()
2382 LLVMSetLinkage(ctx->esgs_ring, LLVMExternalLinkage); in declare_esgs_ring()
2383 LLVMSetAlignment(ctx->esgs_ring, 64 * 1024); in declare_esgs_ring()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.c112 if (rctx->gs_rings.esgs_ring.buffer) in r600_destroy_context()
113 pipe_resource_reference(&rctx->gs_rings.esgs_ring.buffer, NULL); in r600_destroy_context()
Dr600_state_common.c1548 if (enable && !rctx->gs_rings.esgs_ring.buffer) { in update_gs_block_state()
1550 rctx->gs_rings.esgs_ring.buffer = in update_gs_block_state()
1553 rctx->gs_rings.esgs_ring.buffer_size = size; in update_gs_block_state()
1565 R600_GS_RING_CONST_BUFFER, false, &rctx->gs_rings.esgs_ring); in update_gs_block_state()
Dr600_pipe.h255 struct pipe_constant_buffer esgs_ring; member
Dr600_state.c1973 rbuffer =(struct r600_resource*)state->esgs_ring.buffer; in r600_emit_gs_rings()
1980 state->esgs_ring.buffer_size >> 8); in r600_emit_gs_rings()
Devergreen_state.c2683 rbuffer =(struct r600_resource*)state->esgs_ring.buffer; in evergreen_emit_gs_rings()
2691 state->esgs_ring.buffer_size >> 8); in evergreen_emit_gs_rings()