diff options
author | Chia-I Wu <[email protected]> | 2013-10-28 11:18:43 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-10-28 11:40:41 +0800 |
commit | d2fdc0d634f8fecebfe46d9ec2a3c3a03663d8b3 (patch) | |
tree | 50644ec7e60c7eadec5336b1a9d6d4aae0605838 /src/gallium/drivers/ilo/ilo_screen.c | |
parent | d1d3b1e3617f84523cd581e3c12d7715d496e19b (diff) |
ilo: minor cleanups for recent interface changes
Kill ilo_bind_sampler_states2 and ilo_set_sampler_views2. Map
PIPE_FORMAT_R10G10B10A2_UINT to BRW_SURFACEFORMAT_R10G10B10A2_UINT.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_screen.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_screen.c b/src/gallium/drivers/ilo/ilo_screen.c index ddf11ff9679..a345b70b658 100644 --- a/src/gallium/drivers/ilo/ilo_screen.c +++ b/src/gallium/drivers/ilo/ilo_screen.c @@ -286,7 +286,6 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) switch (param) { case PIPE_CAP_NPOT_TEXTURES: - case PIPE_CAP_MIXED_FRAMEBUFFER_SIZES: case PIPE_CAP_TWO_SIDED_STENCIL: return true; case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: @@ -428,6 +427,8 @@ ilo_get_param(struct pipe_screen *screen, enum pipe_cap param) return ILO_MAX_VIEWPORTS; case PIPE_CAP_ENDIANNESS: return PIPE_ENDIAN_LITTLE; + case PIPE_CAP_MIXED_FRAMEBUFFER_SIZES: + return true; default: return 0; |