Home
last modified time | relevance | path

Searched refs:gs_next_vertex (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_gs.c239 LLVMValueRef gs_next_vertex; in si_llvm_emit_vertex() local
245 gs_next_vertex = LLVMBuildLoad(ctx->ac.builder, ctx->gs_next_vertex[stream], ""); in si_llvm_emit_vertex()
256 LLVMBuildICmp(ctx->ac.builder, LLVMIntULT, gs_next_vertex, in si_llvm_emit_vertex()
278 voffset = LLVMBuildAdd(ctx->ac.builder, voffset, gs_next_vertex, ""); in si_llvm_emit_vertex()
288 gs_next_vertex = LLVMBuildAdd(ctx->ac.builder, gs_next_vertex, ctx->ac.i32_1, ""); in si_llvm_emit_vertex()
289 LLVMBuildStore(ctx->ac.builder, gs_next_vertex, ctx->gs_next_vertex[stream]); in si_llvm_emit_vertex()
Dsi_shader_internal.h149 LLVMValueRef gs_next_vertex[4]; member
Dgfx10_shader_ngg.c1629 const LLVMValueRef vertexidx = LLVMBuildLoad(builder, ctx->gs_next_vertex[stream], ""); in gfx10_ngg_gs_emit_vertex()
1641 LLVMBuildStore(builder, tmp, ctx->gs_next_vertex[stream]); in gfx10_ngg_gs_emit_vertex()
1741 const LLVMValueRef vertexidx = LLVMBuildLoad(builder, ctx->gs_next_vertex[stream], ""); in gfx10_ngg_gs_emit_epilogue()
1749 LLVMBuildStore(builder, tmp, ctx->gs_next_vertex[stream]); in gfx10_ngg_gs_emit_epilogue()
Dsi_shader_llvm.c873 ctx->gs_next_vertex[i] = ac_build_alloca(&ctx->ac, ctx->ac.i32, ""); in si_llvm_translate_nir()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c71 LLVMValueRef gs_next_vertex[4]; member
1747 const LLVMValueRef vertexidx = LLVMBuildLoad(builder, ctx->gs_next_vertex[stream], ""); in gfx10_ngg_gs_emit_epilogue_1()
1755 LLVMBuildStore(builder, tmp, ctx->gs_next_vertex[stream]); in gfx10_ngg_gs_emit_epilogue_1()
2040 LLVMBuildStore(builder, tmp, ctx->gs_next_vertex[stream]); in gfx10_ngg_gs_emit_vertex()
2465 ctx.gs_next_vertex[i] = ac_build_alloca(&ctx.ac, ctx.ac.i32, ""); in ac_translate_nir_to_llvm()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c445 int gs_next_vertex; member
2925 ring_offset += ctx->gs_out_ring_offset * ctx->gs_next_vertex; in emit_gs_ring_writes()
2959 ++ctx->gs_next_vertex; in emit_gs_ring_writes()
3521 ctx.gs_next_vertex = 0; in r600_shader_from_tgsi()