Searched refs:esgs_ring (Results 1 – 13 of 13) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_llvm_gs.c | 67 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()
|
D | si_state_shaders.c | 3606 (!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 …]
|
D | si_shader_internal.h | 144 LLVMValueRef esgs_ring; member
|
D | si_shader_llvm.c | 341 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()
|
D | si_pipe.h | 1059 struct pipe_resource *esgs_ring; member
|
D | si_pipe.c | 203 pipe_resource_reference(&sctx->esgs_ring, NULL); in si_destroy_context()
|
D | gfx10_shader_ngg.c | 650 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, ctx->esgs_ring, pai32, ""); in ngg_nogs_vertex_ptr()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_nir_to_llvm.c | 64 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/ |
D | r600_pipe.c | 112 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()
|
D | r600_state_common.c | 1548 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()
|
D | r600_pipe.h | 255 struct pipe_constant_buffer esgs_ring; member
|
D | r600_state.c | 1973 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()
|
D | evergreen_state.c | 2683 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()
|