From d2fdc0d634f8fecebfe46d9ec2a3c3a03663d8b3 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 28 Oct 2013 11:18:43 +0800 Subject: 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. --- src/gallium/drivers/ilo/ilo_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/ilo/ilo_screen.c') 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; -- cgit v1.2.3