summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_asm.h
diff options
context:
space:
mode:
authorHenri Verbeet <[email protected]>2011-07-09 17:18:59 +0200
committerHenri Verbeet <[email protected]>2011-07-09 18:12:50 +0200
commit2b5b289a570c699403f115cf3ad094ce92eba2fb (patch)
treea05b500d0144ea496def1127729b304fd9b6c0cf /src/gallium/drivers/r600/r600_asm.h
parent89dc31a28d8e5607989ec11cfd29310c1c97f6ac (diff)
r600g: Store the chip class directly in r600_bc.
Instead of deriving it from the family again. Signed-off-by: Henri Verbeet <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.h')
-rw-r--r--src/gallium/drivers/r600/r600_asm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.h b/src/gallium/drivers/r600/r600_asm.h
index 423e94b8a1d..cbdaacf7178 100644
--- a/src/gallium/drivers/r600/r600_asm.h
+++ b/src/gallium/drivers/r600/r600_asm.h
@@ -171,7 +171,6 @@ struct r600_cf_callstack {
};
struct r600_bc {
- enum radeon_family family;
enum chip_class chip_class;
int type;
struct list_head cf;
@@ -193,7 +192,7 @@ struct r600_bc {
int eg_bc_cf_build(struct r600_bc *bc, struct r600_bc_cf *cf);
/* r600_asm.c */
-int r600_bc_init(struct r600_bc *bc, enum radeon_family family);
+void r600_bc_init(struct r600_bc *bc, enum chip_class chip_class);
void r600_bc_clear(struct r600_bc *bc);
int r600_bc_add_alu(struct r600_bc *bc, const struct r600_bc_alu *alu);
int r600_bc_add_vtx(struct r600_bc *bc, const struct r600_bc_vtx *vtx);