From 4819da2301916512dbc50e0b5e97a75a6b6320a2 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 2 Jul 2018 10:19:47 -0700 Subject: [PATCH] v3d: Claim PIPE_CAP_TGSI_CAN_READ_OUTPUTS. Fixes warning at screen creation. We store our outputs in normal temps and just emit them to shader I/O at the end, due to our I/O ordering requirements, so reading "outputs" in NIR is fine. --- src/gallium/drivers/v3d/v3d_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/v3d/v3d_screen.c b/src/gallium/drivers/v3d/v3d_screen.c index c0f70d0a92e..e08239fd7f6 100644 --- a/src/gallium/drivers/v3d/v3d_screen.c +++ b/src/gallium/drivers/v3d/v3d_screen.c @@ -109,6 +109,7 @@ v3d_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_DRAW_INDIRECT: case PIPE_CAP_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION: case PIPE_CAP_SIGNED_VERTEX_BUFFER_OFFSET: + case PIPE_CAP_TGSI_CAN_READ_OUTPUTS: return 1; case PIPE_CAP_INDEP_BLEND_ENABLE: -- 2.30.2