mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
intel: Fix insufficient integer width for upload buffer offset
I was being overly miserly and gave the offset of the buffer into the bo insufficient bits, distracted by the adjacency of the buffer[4096]. Ref: https://bugs.freedesktop.org/show_bug.cgi?id=34541 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
dcb21d8b1c
commit
5a1fbf0f70
1 changed files with 2 additions and 2 deletions
|
|
@ -201,8 +201,8 @@ struct intel_context
|
|||
struct {
|
||||
drm_intel_bo *bo;
|
||||
GLuint offset;
|
||||
uint16_t buffer_len;
|
||||
uint16_t buffer_offset;
|
||||
uint32_t buffer_len;
|
||||
uint32_t buffer_offset;
|
||||
char buffer[4096];
|
||||
} upload;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue