summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/v3d
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2018-07-02 10:19:47 -0700
committerEric Anholt <[email protected]>2018-07-02 11:35:41 -0700
commit4819da2301916512dbc50e0b5e97a75a6b6320a2 (patch)
tree263ce57e7e8d238e5f319cfd451cc71b94fab5a8 /src/gallium/drivers/v3d
parent32e413ca59f5c335bcce110af1f27b5c5d458b94 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/v3d')
-rw-r--r--src/gallium/drivers/v3d/v3d_screen.c1
1 files changed, 1 insertions, 0 deletions
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: