Home
last modified time | relevance | path

Searched refs:vertexidx (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c1481 static LLVMValueRef ngg_gs_vertex_ptr(struct si_shader_context *ctx, LLVMValueRef vertexidx) in ngg_gs_vertex_ptr() argument
1490 LLVMValueRef row = LLVMBuildLShr(builder, vertexidx, LLVMConstInt(ctx->ac.i32, 5, false), ""); in ngg_gs_vertex_ptr()
1493 vertexidx = LLVMBuildXor(builder, vertexidx, swizzle, ""); in ngg_gs_vertex_ptr()
1496 return ac_build_gep0(&ctx->ac, storage, vertexidx); in ngg_gs_vertex_ptr()
1508 const LLVMValueRef vertexidx = LLVMBuildAdd(builder, tmp, emitidx, ""); in ngg_gs_emit_vertex_ptr() local
1509 return ngg_gs_vertex_ptr(ctx, vertexidx); in ngg_gs_emit_vertex_ptr()
1540 const LLVMValueRef vertexidx = LLVMBuildLoad(builder, ctx->gs_next_vertex[stream], ""); in gfx10_ngg_gs_emit_vertex() local
1547 LLVMBuildICmp(builder, LLVMIntULT, vertexidx, in gfx10_ngg_gs_emit_vertex()
1550 tmp = LLVMBuildAdd(builder, vertexidx, ctx->ac.i32_1, ""); in gfx10_ngg_gs_emit_vertex()
1551 tmp = LLVMBuildSelect(builder, can_emit, tmp, vertexidx, ""); in gfx10_ngg_gs_emit_vertex()
[all …]
/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h78 LLVMValueRef vertexidx, LLVMValueRef *addrs);
/external/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c764 LLVMValueRef vertexidx,
769 LLVMValueRef vertexidx, LLVMValueRef *addrs) in visit_emit_vertex_with_counter() argument
775 gfx10_ngg_gs_emit_vertex(ctx, stream, vertexidx, addrs); in visit_emit_vertex_with_counter()
803 voffset = LLVMBuildAdd(ctx->ac.builder, voffset, vertexidx, ""); in visit_emit_vertex_with_counter()
2141 ngg_gs_vertex_ptr(struct radv_shader_context *ctx, LLVMValueRef vertexidx) in ngg_gs_vertex_ptr() argument
2150 LLVMBuildLShr(builder, vertexidx, in ngg_gs_vertex_ptr()
2156 vertexidx = LLVMBuildXor(builder, vertexidx, swizzle, ""); in ngg_gs_vertex_ptr()
2159 return ac_build_gep0(&ctx->ac, storage, vertexidx); in ngg_gs_vertex_ptr()
2171 const LLVMValueRef vertexidx = LLVMBuildAdd(builder, tmp, emitidx, ""); in ngg_gs_emit_vertex_ptr() local
2172 return ngg_gs_vertex_ptr(ctx, vertexidx); in ngg_gs_emit_vertex_ptr()
[all …]