From: Brian Paul Date: Fri, 21 Aug 2009 17:47:27 +0000 (-0600) Subject: softpipe: add missing PIPE_TEXTURE_CUBE case in get_lambda_func() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87ec83afd58536c31bf02c307f1d5488abc84861;p=mesa.git softpipe: add missing PIPE_TEXTURE_CUBE case in get_lambda_func() Fixes progs/demos/cubemap --- diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index a2e2a221e4b..f3710037082 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -1476,6 +1476,7 @@ static compute_lambda_func get_lambda_func( const union sp_sampler_key key ) case PIPE_TEXTURE_1D: return compute_lambda_1d; case PIPE_TEXTURE_2D: + case PIPE_TEXTURE_CUBE: return compute_lambda_2d; case PIPE_TEXTURE_3D: return compute_lambda_3d;