projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfa8be
)
softpipe: add missing PIPE_TEXTURE_CUBE case in get_lambda_func()
author
Brian Paul
<brianp@vmware.com>
Fri, 21 Aug 2009 17:47:27 +0000
(11:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 21 Aug 2009 17:47:31 +0000
(11:47 -0600)
Fixes progs/demos/cubemap
src/gallium/drivers/softpipe/sp_tex_sample.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_tex_sample.c
b/src/gallium/drivers/softpipe/sp_tex_sample.c
index a2e2a221e4b6e332ec2e2dbf0fda064a137b3750..f3710037082edf16e057fecaffa54f4b8b1b5e54 100644
(file)
--- 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;