summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r--src/gallium/drivers/r600/r600.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h
index 6d87220db2a..65b029b065f 100644
--- a/src/gallium/drivers/r600/r600.h
+++ b/src/gallium/drivers/r600/r600.h
@@ -129,6 +129,17 @@ enum r600_group_id {
R600_NGROUPS
};
+enum evergreen_group_id {
+ EVERGREEN_GROUP_CONFIG = 0,
+ EVERGREEN_GROUP_CONTEXT,
+ EVERGREEN_GROUP_RESOURCE,
+ EVERGREEN_GROUP_SAMPLER,
+ EVERGREEN_GROUP_CTL_CONST,
+ EVERGREEN_GROUP_LOOP_CONST,
+ EVERGREEN_GROUP_BOOL_CONST,
+ EVERGREEN_NGROUPS
+};
+
struct r600_pipe_reg {
unsigned group_id;
u32 offset;
@@ -265,4 +276,9 @@ boolean r600_context_query_result(struct r600_context *ctx,
void r600_query_begin(struct r600_context *ctx, struct r600_query *query);
void r600_query_end(struct r600_context *ctx, struct r600_query *query);
+int evergreen_context_init(struct r600_context *ctx, struct radeon *radeon);
+void evergreen_context_draw(struct r600_context *ctx, const struct r600_draw *draw);
+void evergreen_ps_resource_set(struct r600_context *ctx, struct r600_pipe_state *state, unsigned rid);
+void evergreen_vs_resource_set(struct r600_context *ctx, struct r600_pipe_state *state, unsigned rid);
+
#endif