diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-18 10:48:19 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-18 15:25:40 -0700 |
commit | 79b13b437685b8dbe2e9938714eb4733b8b79a17 (patch) | |
tree | 397be0fbc7a8fb00ac2ca0e77c2f187eee3f9c6f /src/gallium/drivers/panfrost/pan_screen.c | |
parent | d56f92502e21767b7f755fa7a093502b2d01ed91 (diff) |
panfrost: Expose 4 render targets
Hidden behind deqp flag as usual.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index 39d00009091..59e683d8b72 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -96,7 +96,7 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) return 1; case PIPE_CAP_MAX_RENDER_TARGETS: - return 1; + return is_deqp ? 4 : 1; case PIPE_CAP_OCCLUSION_QUERY: return 1; @@ -249,7 +249,7 @@ panfrost_get_shader_param(struct pipe_screen *screen, return 16; case PIPE_SHADER_CAP_MAX_OUTPUTS: - return shader == PIPE_SHADER_FRAGMENT ? 1 : 8; + return shader == PIPE_SHADER_FRAGMENT ? 4 : 8; case PIPE_SHADER_CAP_MAX_TEMPS: return 256; /* GL_MAX_PROGRAM_TEMPORARIES_ARB */ |