diff options
author | Rob Clark <[email protected]> | 2014-09-23 17:24:27 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2014-09-24 18:52:58 -0400 |
commit | a87e44da3a801028783979cfd3548d0ebc9fdd88 (patch) | |
tree | b7272890c5f2be5567d602c3a6ba27b993cf78a8 /src/gallium/drivers/freedreno/a3xx/fd3_context.c | |
parent | 9f47220450d3083b7625db1818232cf5c68ae7cd (diff) |
freedreno/a3xx: initial texture border-color
Still some open questions.. and at any rate, no additional piglit passes
due to various wrap modes that we need to emulate in at least some
cases :-(
But it does fix some mystery page-faults.. So add some comments in the
code where there are things that we need to emulate or do more r/e, and
push as-is.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/fd3_context.c')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_context.c b/src/gallium/drivers/freedreno/a3xx/fd3_context.c index 847414ac082..f8f412e1a1b 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_context.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_context.c @@ -137,5 +137,8 @@ fd3_context_create(struct pipe_screen *pscreen, void *priv) fd3_query_context_init(pctx); + fd3_ctx->border_color_uploader = u_upload_create(pctx, 4096, + 2 * PIPE_MAX_SAMPLERS * BORDERCOLOR_SIZE, 0); + return pctx; } |