diff options
author | Marek Olšák <[email protected]> | 2016-01-02 20:45:00 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-01-08 20:07:15 +0100 |
commit | 34738a92dea31ab91edb62bf83a3fe1ca44c35a1 (patch) | |
tree | 1fda065c329e28d9b12e673151e6cdc4b63c3b1a /src/gallium/drivers/freedreno/freedreno_screen.c | |
parent | 24737f2298619844685e7deceaeb8dbfc2165ee3 (diff) |
gallium: add caps for POSITION and FACE system values
v2: document the integer behavior
Reviewed-by: Edward O'Callaghan <[email protected]
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index a8030f2ff60..e940b1c21e6 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -242,6 +242,8 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_DRAW_PARAMETERS: case PIPE_CAP_TGSI_PACK_HALF_FLOAT: + case PIPE_CAP_TGSI_FS_POSITION_IS_SYSVAL: + case PIPE_CAP_TGSI_FS_FACE_IS_INTEGER_SYSVAL: return 0; case PIPE_CAP_MAX_VIEWPORTS: |