summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/freedreno_screen.c
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2015-04-01 01:14:39 -0400
committerIlia Mirkin <[email protected]>2015-04-02 00:09:14 -0400
commit6f4c1976f4e5ecdebfe5b9ac16b6d13a5e60eed1 (patch)
tree6cbe3f10e99545f5d7aa0c75f947642cb7373f61 /src/gallium/drivers/freedreno/freedreno_screen.c
parentd9992ab35a51c574dcfa8049859c0887956ecdf6 (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.c2
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: