diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2016-01-02 18:55:48 -0500 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2016-01-03 16:20:41 -0500 |
commit | e9f43d6333657d3f6c47c656fbbe18aaebbe804a (patch) | |
tree | 14b6165a900ae0c308810bba117813a0b8d59e40 /src/gallium/drivers/softpipe | |
parent | 459e4532af44ea4490bbb4085a7487c40ae952cc (diff) | |
download | external_mesa3d-e9f43d6333657d3f6c47c656fbbe18aaebbe804a.zip external_mesa3d-e9f43d6333657d3f6c47c656fbbe18aaebbe804a.tar.gz external_mesa3d-e9f43d6333657d3f6c47c656fbbe18aaebbe804a.tar.bz2 |
gallium: add PIPE_CAP_TGSI_PACK_HALF_FLOAT to indicate UP2H/PK2H support
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/softpipe/sp_screen.c b/src/gallium/drivers/softpipe/sp_screen.c index 7a35a2a..6af96d9 100644 --- a/src/gallium/drivers/softpipe/sp_screen.c +++ b/src/gallium/drivers/softpipe/sp_screen.c @@ -252,6 +252,7 @@ softpipe_get_param(struct pipe_screen *screen, enum pipe_cap param) case PIPE_CAP_COPY_BETWEEN_COMPRESSED_AND_PLAIN_FORMATS: case PIPE_CAP_CLEAR_TEXTURE: case PIPE_CAP_DRAW_PARAMETERS: + case PIPE_CAP_TGSI_PACK_HALF_FLOAT: return 0; } /* should only get here on unhandled cases */ |