summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv50/nv50_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_screen.h')
-rw-r--r--src/gallium/drivers/nv50/nv50_screen.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_screen.h b/src/gallium/drivers/nv50/nv50_screen.h
index fbf15a7596..ad6bdeb27c 100644
--- a/src/gallium/drivers/nv50/nv50_screen.h
+++ b/src/gallium/drivers/nv50/nv50_screen.h
@@ -22,11 +22,12 @@ struct nv50_screen {
struct nouveau_resource *immd_heap;
- struct pipe_resource *strm_vbuf[16];
-
struct nouveau_bo *tic;
struct nouveau_bo *tsc;
+ struct nouveau_bo *stack_bo; /* control flow stack */
+ struct nouveau_bo *local_bo; /* l[] memory */
+
boolean force_push;
};
@@ -38,4 +39,13 @@ nv50_screen(struct pipe_screen *screen)
extern void nv50_screen_relocs(struct nv50_screen *);
+struct nv50_format {
+ uint32_t rt;
+ uint32_t tic;
+ uint32_t vtx;
+ uint32_t usage;
+};
+
+extern const struct nv50_format nv50_format_table[];
+
#endif