summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.h
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-21 10:55:41 +0100
committerYounes Manton <younes.m@gmail.com>2010-03-15 00:03:02 -0400
commitbcb37411fc9159a5c1af50b7defbf1f526b50793 (patch)
tree425b9852bdcd99d5c44cb3203f8180c3ee7b53ca /src/gallium/drivers/nv40/nv40_context.h
parentd9e396ce4a124529fa92ad967f2b3ff72534079b (diff)
nv30, nv40: non-trivially unify nv[34]0_fragprog.c
The files are mostly the same except: 1. On NV40, some TGSI instructions are emulated with several hardware ones 2. Some instructions such as DDX/DDY, and STR were missing from nv30 3. NV40 has more sophisticated register management nv30 now supports all instructions and uses the nv40 register management.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_context.h')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.h b/src/gallium/drivers/nv40/nv40_context.h
index 3840134ce6..4cd56af8f7 100644
--- a/src/gallium/drivers/nv40/nv40_context.h
+++ b/src/gallium/drivers/nv40/nv40_context.h
@@ -16,15 +16,10 @@ extern void nv40_draw_elements_swtnl(struct pipe_context *pipe,
extern void nv40_vertprog_destroy(struct nvfx_context *,
struct nvfx_vertex_program *);
-/* nv40_fragprog.c */
-extern void nv40_fragprog_destroy(struct nvfx_context *,
- struct nvfx_fragment_program *);
-
/* nv40_fragtex.c */
extern void nv40_fragtex_bind(struct nvfx_context *);
/* nv40_state.c and friends */
-extern struct nvfx_state_entry nv40_state_fragprog;
extern struct nvfx_state_entry nv40_state_vertprog;
extern struct nvfx_state_entry nv40_state_fragtex;
extern struct nvfx_state_entry nv40_state_vbo;