From 41dbc4c44428cc5e36d7ab8b30a2eb5ba89694d0 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Fri, 21 Feb 2014 01:57:49 -0500 Subject: [PATCH] nv30: remove unused sprite flipping parameter Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nv30/nv30_context.h | 3 +-- src/gallium/drivers/nouveau/nv30/nv30_fragprog.c | 2 +- src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/nouveau/nv30/nv30_context.h b/src/gallium/drivers/nouveau/nv30/nv30_context.h index 864d97a7367..6dfab38c98c 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_context.h +++ b/src/gallium/drivers/nouveau/nv30/nv30_context.h @@ -214,8 +214,7 @@ nv30_state_release(struct nv30_context *nv30); //XXX: needed to make it build, clean this up! void -_nvfx_fragprog_translate(struct nv30_context *nvfx, struct nv30_fragprog *fp, - boolean emulate_sprite_flipping); +_nvfx_fragprog_translate(struct nv30_context *nvfx, struct nv30_fragprog *fp); boolean _nvfx_vertprog_translate(struct nv30_context *nv30, struct nv30_vertprog *vp); diff --git a/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c b/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c index e8acdfeaf75..355164570dc 100644 --- a/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c +++ b/src/gallium/drivers/nouveau/nv30/nv30_fragprog.c @@ -67,7 +67,7 @@ nv30_fragprog_validate(struct nv30_context *nv30) int i; if (!fp->translated) { - _nvfx_fragprog_translate(nv30, fp, FALSE); + _nvfx_fragprog_translate(nv30, fp); if (!fp->translated) return; diff --git a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c index ae4f789c6fa..bee23eb144c 100644 --- a/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c +++ b/src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c @@ -1114,8 +1114,7 @@ out_err: DEBUG_GET_ONCE_BOOL_OPTION(nvfx_dump_fp, "NVFX_DUMP_FP", FALSE) void -_nvfx_fragprog_translate(struct nv30_context *nvfx, struct nv30_fragprog *fp, - boolean emulate_sprite_flipping) +_nvfx_fragprog_translate(struct nv30_context *nvfx, struct nv30_fragprog *fp) { struct tgsi_parse_context parse; struct nvfx_fpc *fpc = NULL; -- 2.30.2