projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
u_upload_mgr: pass alignment to u_upload_alloc manually
[mesa.git]
/
src
/
gallium
/
drivers
/
freedreno
/
a4xx
/
fd4_emit.c
diff --git
a/src/gallium/drivers/freedreno/a4xx/fd4_emit.c
b/src/gallium/drivers/freedreno/a4xx/fd4_emit.c
index b9a281497222174bf7f72f8398ca93ae8c5fa285..bc62a5d9a4b02f21f8149bfdc489764fbdf1b4fa 100644
(file)
--- a/
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
+++ b/
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
@@
-133,7
+133,8
@@
emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring,
void *ptr;
u_upload_alloc(fd4_ctx->border_color_uploader,
- 0, 2 * PIPE_MAX_SAMPLERS * BORDERCOLOR_SIZE, &off,
+ 0, BORDER_COLOR_UPLOAD_SIZE,
+ BORDER_COLOR_UPLOAD_SIZE, &off,
&fd4_ctx->border_color_buf,
&ptr);