summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_sampler_view.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-04-07 18:46:09 +0100
committerBrian Paul <[email protected]>2011-09-23 07:58:45 -0600
commit4e0ae3e34f50d1f66a04337b563da22250c8b8d2 (patch)
tree7e74cfb2cedd929246bf6bbbf5c95992c73edac7 /src/gallium/drivers/svga/svga_sampler_view.c
parentfd69fc87444af8ead30b4af64598a98df7969397 (diff)
svga: Expose the new depth formats
Diffstat (limited to 'src/gallium/drivers/svga/svga_sampler_view.c')
-rw-r--r--src/gallium/drivers/svga/svga_sampler_view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c
index 4f1f4b597e8..04aeddc7194 100644
--- a/src/gallium/drivers/svga/svga_sampler_view.c
+++ b/src/gallium/drivers/svga/svga_sampler_view.c
@@ -60,7 +60,7 @@ svga_get_tex_sampler_view(struct pipe_context *pipe,
struct svga_texture *tex = svga_texture(pt);
struct svga_sampler_view *sv = NULL;
SVGA3dSurfaceFlags flags = SVGA3D_SURFACE_HINT_TEXTURE;
- SVGA3dSurfaceFormat format = svga_translate_format(pt->format);
+ SVGA3dSurfaceFormat format = svga_translate_format(ss, pt->format);
boolean view = TRUE;
assert(pt);