summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/r600_context.h')
-rw-r--r--src/gallium/drivers/r600/r600_context.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/gallium/drivers/r600/r600_context.h b/src/gallium/drivers/r600/r600_context.h
index ae32194318c..d104531d365 100644
--- a/src/gallium/drivers/r600/r600_context.h
+++ b/src/gallium/drivers/r600/r600_context.h
@@ -31,7 +31,6 @@
#include <tgsi/tgsi_util.h>
#include <util/u_blitter.h>
#include <util/u_double_list.h>
-#include "translate/translate_cache.h"
#include "radeon.h"
#include "r600_shader.h"
@@ -116,11 +115,7 @@ struct r600_vertex_element
{
unsigned refcount;
unsigned count;
- struct pipe_vertex_element elements[PIPE_MAX_ATTRIBS];
-
- enum pipe_format hw_format[PIPE_MAX_ATTRIBS];
- unsigned hw_format_size[PIPE_MAX_ATTRIBS];
- boolean incompatible_layout;
+ struct pipe_vertex_element elements[32];
};
struct r600_draw {
@@ -137,18 +132,6 @@ struct r600_draw {
unsigned index_bias;
};
-struct r600_translate_context {
- /* Translate cache for incompatible vertex offset/stride/format fallback. */
- struct translate_cache *translate_cache;
-
- /* The vertex buffer slot containing the translated buffer. */
- unsigned vb_slot;
-
- /* Saved and new vertex element state. */
- void *saved_velems, *new_velems;
-};
-
-
struct r600_context_hw_states {
struct radeon_state rasterizer;
struct radeon_state scissor;
@@ -264,10 +247,6 @@ struct r600_context {
struct u_upload_mgr *upload_vb;
struct u_upload_mgr *upload_ib;
bool any_user_vbs;
- unsigned vb_max_index;
-
- /* For translating vertex buffers having incompatible vertex layout. */
- struct r600_translate_context tran;
};
/* Convenience cast wrapper. */