mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
iris: actually set cube bit properly
This commit is contained in:
parent
d849501f4c
commit
c0ab9c9890
1 changed files with 2 additions and 1 deletions
|
|
@ -1016,7 +1016,8 @@ iris_create_sampler_view(struct pipe_context *ctx,
|
|||
.b = pipe_swizzle_to_isl_channel(tmpl->swizzle_b),
|
||||
.a = pipe_swizzle_to_isl_channel(tmpl->swizzle_a),
|
||||
},
|
||||
.usage = ISL_SURF_USAGE_TEXTURE_BIT,
|
||||
.usage = ISL_SURF_USAGE_TEXTURE_BIT |
|
||||
(itex->surf.usage & ISL_SURF_USAGE_CUBE_BIT),
|
||||
};
|
||||
|
||||
void *map = upload_state(ice->state.surface_uploader, &isv->surface_state,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue