diff options
author | Ilia Mirkin <[email protected]> | 2014-04-26 23:44:57 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-05-07 20:40:46 -0400 |
commit | d95df4f4e4ecbdf91c44ab19034bf6eb1b476592 (patch) | |
tree | c7dc1b278b23448e2c503bda6ed4734ea118e991 /src/gallium/drivers/nouveau/nvc0 | |
parent | 9ced3fc649ec04710a5f5c855bfb582b898cff83 (diff) |
gallium: add a cap for supporting 4-offset TG4 opcodes
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 815c34f1759..2166788e00e 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -186,6 +186,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) return 1; case PIPE_CAP_TEXTURE_QUERY_LOD: case PIPE_CAP_SAMPLE_SHADING: + case PIPE_CAP_TEXTURE_GATHER_OFFSETS: return 1; case PIPE_CAP_MAX_TEXTURE_GATHER_COMPONENTS: return 4; |