diff options
author | Chia-I Wu <[email protected]> | 2013-12-20 23:59:34 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-01-08 18:11:34 +0800 |
commit | 8d9f5d57e25af3de0e35e5c7f3c0bff03b080ba7 (patch) | |
tree | ff8bdd2e1ed1efd4f10b378b61a342d708d1a4a9 /src/gallium/drivers/ilo/ilo_state.c | |
parent | 0978a6966abb886539158934d11ae7f170786be2 (diff) |
ilo: allow ilo_view_surface to skip layer offsetting
Make offset to layer optional in ilo_gpe_init_view_surface_for_texture.
render_cache_rw is always the same as is_rt and is replaced.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c index fc120f88b94..8437ab171c5 100644 --- a/src/gallium/drivers/ilo/ilo_state.c +++ b/src/gallium/drivers/ilo/ilo_state.c @@ -943,7 +943,7 @@ ilo_create_sampler_view(struct pipe_context *pipe, templ->u.tex.last_level - templ->u.tex.first_level + 1, templ->u.tex.first_layer, templ->u.tex.last_layer - templ->u.tex.first_layer + 1, - false, false, &view->surface); + false, true, &view->surface); } return &view->base; |