summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2018-02-09 13:54:25 +0100
committerSamuel Pitoiset <[email protected]>2018-02-12 11:54:17 +0100
commite32f3749443183e92e3567214af41aceb60eaaeb (patch)
treecc8465a53e83c27fc8cd302491f6f417f4f36eb1 /src/gallium
parent1e69db003da22c9068e5fd08bcf217442da5712c (diff)
ac: remove unused parameters in abi::load_tess_coord()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index ca43530d924..9340360376d 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -1939,9 +1939,7 @@ static LLVMValueRef load_sample_mask_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;
@@ -2116,7 +2114,7 @@ void si_load_system_value(struct si_shader_context *ctx,
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: