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/
H A Dsi_shader_llvm_gs.c267 ctx->esgs_ring = ac_build_load_to_sgpr(&ctx->ac, buf_ptr, offset); in si_preload_esgs_ring()
270 LLVMValueRef desc1 = LLVMBuildExtractElement(builder, ctx->esgs_ring, ctx->ac.i32_1, ""); in si_preload_esgs_ring()
271 LLVMValueRef desc3 = LLVMBuildExtractElement(builder, ctx->esgs_ring, in si_preload_esgs_ring()
286 ctx->esgs_ring = LLVMBuildInsertElement(builder, ctx->esgs_ring, desc1, ctx->ac.i32_1, ""); in si_preload_esgs_ring()
287 ctx->esgs_ring = LLVMBuildInsertElement(builder, ctx->esgs_ring, desc3, in si_preload_esgs_ring()
294 ctx->ac.lds = ctx->esgs_ring; in si_preload_esgs_ring()
297 ctx->esgs_ring = ctx->ac.lds; in si_preload_esgs_ring()
H A Dsi_state_shaders.cpp3804 (!sctx->esgs_ring || sctx->esgs_ring->width0 < esgs_ring_size);
3812 pipe_resource_reference(&sctx->esgs_ring, NULL);
3813 sctx->esgs_ring =
3819 if (!sctx->esgs_ring)
3836 if (sctx->esgs_ring) {
3838 si_set_ring_buffer(sctx, SI_RING_ESGS, sctx->esgs_ring, 0, sctx->esgs_ring->width0, false,
3857 if (sctx->esgs_ring) {
3860 sctx->esgs_ring
[all...]
H A Dsi_shader_llvm.c333 if (ctx->esgs_ring) in si_llvm_declare_esgs_ring()
336 assert(!LLVMGetNamedGlobal(ctx->ac.module, "esgs_ring")); in si_llvm_declare_esgs_ring()
338 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in si_llvm_declare_esgs_ring()
339 "esgs_ring", AC_ADDR_SPACE_LDS); in si_llvm_declare_esgs_ring()
340 LLVMSetLinkage(ctx->esgs_ring, LLVMExternalLinkage); in si_llvm_declare_esgs_ring()
341 LLVMSetAlignment(ctx->esgs_ring, 64 * 1024); in si_llvm_declare_esgs_ring()
794 return ctx->esgs_ring; in si_llvm_load_intrinsic()
H A Dsi_shader_internal.h139 LLVMValueRef esgs_ring; member
H A Dsi_pipe.h1099 struct pipe_resource *esgs_ring; member
H A Dsi_pipe.c210 pipe_resource_reference(&sctx->esgs_ring, NULL); in si_destroy_context()
H A Dgfx10_shader_ngg.c741 LLVMValueRef tmp = LLVMBuildBitCast(ctx->ac.builder, ctx->esgs_ring, pai32, ""); in ngg_nogs_vertex_ptr()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_to_llvm.c65 LLVMValueRef esgs_ring; member
1222 ctx->esgs_ring = ac_build_load_to_sgpr(&ctx->ac, ctx->ring_offsets, offset); in ac_setup_rings()
1328 if (ctx->esgs_ring) in declare_esgs_ring()
1331 assert(!LLVMGetNamedGlobal(ctx->ac.module, "esgs_ring")); in declare_esgs_ring()
1333 ctx->esgs_ring = LLVMAddGlobalInAddressSpace(ctx->ac.module, LLVMArrayType(ctx->ac.i32, 0), in declare_esgs_ring()
1334 "esgs_ring", AC_ADDR_SPACE_LDS); in declare_esgs_ring()
1335 LLVMSetLinkage(ctx->esgs_ring, LLVMExternalLinkage); in declare_esgs_ring()
1336 LLVMSetAlignment(ctx->esgs_ring, 64 * 1024); in declare_esgs_ring()
1352 return ctx->esgs_ring; in radv_intrinsic_load()
/third_party/mesa3d/src/gallium/drivers/r600/
H A Dr600_pipe.c111 if (rctx->gs_rings.esgs_ring.buffer) in r600_destroy_context()
112 pipe_resource_reference(&rctx->gs_rings.esgs_ring.buffer, NULL); in r600_destroy_context()
H A Dr600_state_common.c1612 if (enable && !rctx->gs_rings.esgs_ring.buffer) { in update_gs_block_state()
1614 rctx->gs_rings.esgs_ring.buffer = in update_gs_block_state()
1617 rctx->gs_rings.esgs_ring.buffer_size = size; in update_gs_block_state()
1629 R600_GS_RING_CONST_BUFFER, false, &rctx->gs_rings.esgs_ring); in update_gs_block_state()
H A Dr600_pipe.h255 struct pipe_constant_buffer esgs_ring; member
H A Dr600_state.c1971 rbuffer =(struct r600_resource*)state->esgs_ring.buffer; in r600_emit_gs_rings()
1978 state->esgs_ring.buffer_size >> 8); in r600_emit_gs_rings()
H A Devergreen_state.c2676 rbuffer =(struct r600_resource*)state->esgs_ring.buffer; in evergreen_emit_gs_rings()
2684 state->esgs_ring.buffer_size >> 8); in evergreen_emit_gs_rings()

Completed in 39 milliseconds