diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-04 16:34:58 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-04-04 16:42:57 +0100 |
commit | 79444291a39c42039192a5baa3a71d52300cf4ee (patch) | |
tree | 6830160e83f07c30627ff5d00bde0dce9d04a4dd /src/intel.h | |
parent | d2106384be6f9df498392127c3ff64d0a2b17457 (diff) |
i965: segregate each vertex element into its own buffer
Reduce the number of relocations emitted by only emitting one relocation
per vertex element per vertex buffer.
References: https://bugs.freedesktop.org/show_bug.cgi?id=35733
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r-- | src/intel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel.h b/src/intel.h index b86d293f..8a54aefa 100644 --- a/src/intel.h +++ b/src/intel.h @@ -407,6 +407,7 @@ typedef struct intel_screen_private { uint16_t vertex_count; uint16_t vertex_index; uint16_t vertex_used; + uint32_t vertex_id; float vertex_ptr[4*1024]; dri_bo *vertex_bo; |