diff options
author | Ilia Mirkin <[email protected]> | 2015-04-01 01:14:39 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-04-02 00:09:14 -0400 |
commit | 6f4c1976f4e5ecdebfe5b9ac16b6d13a5e60eed1 (patch) | |
tree | 6cbe3f10e99545f5d7aa0c75f947642cb7373f61 /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | d9992ab35a51c574dcfa8049859c0887956ecdf6 (diff) |
freedreno: convert blit program to array for each number of rts
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index bb488025ece..fe724442c07 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -252,7 +252,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) /* Render targets. */ case PIPE_CAP_MAX_RENDER_TARGETS: - return 1; + return screen->max_rts; /* Queries. */ case PIPE_CAP_QUERY_TIME_ELAPSED: |