v3d: Claim PIPE_CAP_TGSI_CAN_READ_OUTPUTS.
authorEric Anholt <eric@anholt.net>
Mon, 2 Jul 2018 17:19:47 +0000 (10:19 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 2 Jul 2018 18:35:41 +0000 (11:35 -0700)
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

index c0f70d0a92e1e1ffcaa0958b1e18672b5cbdd998..e08239fd7f6a3170c0e394bfa1e5fe40a9b3a0d9 100644 (file)
@@ -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: