diff options
author | Jerome Glisse <[email protected]> | 2010-09-22 17:37:30 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-23 17:10:28 -0400 |
commit | b360c050b60a578ce6c75cbc872dd54999b3f6c5 (patch) | |
tree | 1dbb5d441f5538d4125bff5608579366477e36b7 /src/gallium/drivers/r600/r600.h | |
parent | ce8c71817b89ae97f960ba517becc8a74431206f (diff) |
r600g: initial evergreen support in new path
This doesn't work yet.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 16 |
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 |