diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-01-02 20:45:00 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-01-08 20:07:15 +0100 |
commit | 34738a92dea31ab91edb62bf83a3fe1ca44c35a1 (patch) | |
tree | 1fda065c329e28d9b12e673151e6cdc4b63c3b1a /src/gallium/drivers/i915 | |
parent | 24737f2298619844685e7deceaeb8dbfc2165ee3 (diff) |
gallium: add caps for POSITION and FACE system values
v2: document the integer behavior
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r-- | src/gallium/drivers/i915/i915_screen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index f42fc37abe5..2289eb58c49 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/i915_screen.c @@ -256,6 +256,8 @@ i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) 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_DUAL_SOURCE_RENDER_TARGETS: |