diff options
author | Dave Airlie <[email protected]> | 2018-02-13 05:21:12 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-02-14 08:50:08 +1000 |
commit | 9ddacd9af488485bfc5da1797e67ff322080c0d4 (patch) | |
tree | 61a86685e5fac4cafe5d9ea73baad79652705375 /src/gallium/drivers/virgl/virgl_screen.c | |
parent | a553c54abf92533daf442073dd3408c35f57d8ba (diff) |
gallium: drop all the guard band float caps.
Nobody queries these and nobody sets them to anything useful,
the docs say TODO.
Drop them until a use appears.
Reviewed-by: Roland Scheidegger <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.c')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.c b/src/gallium/drivers/virgl/virgl_screen.c index 72dce08c286..ae062917e63 100644 --- a/src/gallium/drivers/virgl/virgl_screen.c +++ b/src/gallium/drivers/virgl/virgl_screen.c @@ -368,11 +368,6 @@ virgl_get_paramf(struct pipe_screen *screen, enum pipe_capf param) return 16.0; case PIPE_CAPF_MAX_TEXTURE_LOD_BIAS: return vscreen->caps.caps.v2.max_texture_lod_bias; - case PIPE_CAPF_GUARD_BAND_LEFT: - case PIPE_CAPF_GUARD_BAND_TOP: - case PIPE_CAPF_GUARD_BAND_RIGHT: - case PIPE_CAPF_GUARD_BAND_BOTTOM: - return 0.0; } /* should only get here on unhandled cases */ debug_printf("Unexpected PIPE_CAPF %d query\n", param); |