diff options
author | Andreas Baierl <[email protected]> | 2019-05-31 09:54:27 +0200 |
---|---|---|
committer | Qiang Yu <[email protected]> | 2019-07-18 13:20:39 +0000 |
commit | 4627a0c4ebc777716e7cadfd80e4f9d5b411762b (patch) | |
tree | a2f1f45b36ae3a9b313af754ad66dc46f57300ca /src/gallium/drivers/lima/lima_screen.c | |
parent | 35232330274cff321e746b219db9ec9de23172d0 (diff) |
lima/ppir: Add gl_PointCoord handling
Treat gl_PointCoord as a system value and
add the necessary bits for correct codegen.
Signed-off-by: Andreas Baierl <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_screen.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_screen.c b/src/gallium/drivers/lima/lima_screen.c index 7cced495696..b3f7fff26c4 100644 --- a/src/gallium/drivers/lima/lima_screen.c +++ b/src/gallium/drivers/lima/lima_screen.c @@ -117,6 +117,7 @@ lima_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL: + case PIPE_CAP_TGSI_FS_POINT_IS_SYSVAL: return 1; case PIPE_CAP_MAX_TEXTURE_2D_SIZE: |