}
static LLVMValueRef
-load_tess_coord(struct ac_shader_abi *abi, LLVMTypeRef type,
- unsigned num_components)
+load_tess_coord(struct ac_shader_abi *abi)
{
struct nir_to_llvm_context *ctx = nir_to_llvm_context_from_abi(abi);
ctx->abi->emit_primitive(ctx->abi, nir_intrinsic_stream_id(instr));
break;
case nir_intrinsic_load_tess_coord:
- result = ctx->abi->load_tess_coord(ctx->abi, NULL, 0);
+ result = ctx->abi->load_tess_coord(ctx->abi);
break;
case nir_intrinsic_load_tess_level_outer:
result = ctx->abi->load_tess_level(ctx->abi, VARYING_SLOT_TESS_LEVEL_OUTER);
bool is_compact,
unsigned writemask);
- LLVMValueRef (*load_tess_coord)(struct ac_shader_abi *abi,
- LLVMTypeRef type,
- unsigned num_components);
+ LLVMValueRef (*load_tess_coord)(struct ac_shader_abi *abi);
LLVMValueRef (*load_patch_vertices_in)(struct ac_shader_abi *abi);
return abi->sample_coverage;
}
-static LLVMValueRef si_load_tess_coord(struct ac_shader_abi *abi,
- LLVMTypeRef type,
- unsigned num_components)
+static LLVMValueRef si_load_tess_coord(struct ac_shader_abi *abi)
{
struct si_shader_context *ctx = si_shader_context_from_abi(abi);
struct lp_build_context *bld = &ctx->bld_base.base;
break;
case TGSI_SEMANTIC_TESSCOORD:
- value = si_load_tess_coord(&ctx->abi, NULL, 4);
+ value = si_load_tess_coord(&ctx->abi);
break;
case TGSI_SEMANTIC_VERTICESIN: