diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-08-07 12:00:14 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-08-13 09:43:09 -0700 |
commit | 4b0001c42df10134e792fcd7879e997b0ae4cdbf (patch) | |
tree | 20de65bb4a4c8386230fae3078dbca2a3c0aba6d /src/gallium/drivers/panfrost/pan_screen.c | |
parent | 72fc06df9cabdc67ccbf53a99e3d61d516feab7b (diff) |
panfrost: Set PIPE_CAP_TGSI_TEXCOORD
It doesn't really make sense, since we don't have special texture
coordinate varyings, but it'll make some code simpler for XFB and it
doesn't hurt us, even if I lose a bit of my soul setting it.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_screen.c')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_screen.c b/src/gallium/drivers/panfrost/pan_screen.c index d56897729a3..de34a2e26ca 100644 --- a/src/gallium/drivers/panfrost/pan_screen.c +++ b/src/gallium/drivers/panfrost/pan_screen.c @@ -180,6 +180,11 @@ panfrost_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL: return 0; + /* I really don't want to set this CAP but let's not swim against the + * tide.. */ + case PIPE_CAP_TGSI_TEXCOORD: + return 1; + case PIPE_CAP_SEAMLESS_CUBE_MAP: case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: return 1; |