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
/
a3xx
/
fd3_emit.c
diff --git
a/src/gallium/drivers/freedreno/a3xx/fd3_emit.c
b/src/gallium/drivers/freedreno/a3xx/fd3_emit.c
index 24afbc9e956b459154ed8d9321f8fbd1ac1b5da2..e65a352e7f60d597fd2ba94d1b11d53feaaa339b 100644
(file)
--- a/
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
+++ b/
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
@@
-145,7
+145,8
@@
emit_textures(struct fd_context *ctx, struct fd_ringbuffer *ring,
void *ptr;
u_upload_alloc(fd3_ctx->border_color_uploader,
- 0, 2 * PIPE_MAX_SAMPLERS * BORDERCOLOR_SIZE, &off,
+ 0, BORDER_COLOR_UPLOAD_SIZE,
+ BORDER_COLOR_UPLOAD_SIZE, &off,
&fd3_ctx->border_color_buf,
&ptr);