From: Eric Anholt Date: Mon, 2 Jul 2018 17:19:47 +0000 (-0700) Subject: v3d: Claim PIPE_CAP_TGSI_CAN_READ_OUTPUTS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4819da2301916512dbc50e0b5e97a75a6b6320a2;p=mesa.git 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. --- 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: