mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radeonsi: fix images with level > 0
This should fix spec@arb_shader_image_load_store@level.
Broken by:
Commit: 95c5bbae66
radeonsi: set some image descriptor fields at bind time
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
parent
fd6bbc2ee2
commit
3b44864ab7
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ static void si_set_shader_image(struct si_context *ctx,
|
|||
view->u.tex.last_layer,
|
||||
width, height, depth,
|
||||
desc, NULL);
|
||||
si_set_mutable_tex_desc_fields(tex, tex->surface.level, level,
|
||||
si_set_mutable_tex_desc_fields(tex, &tex->surface.level[level], level,
|
||||
util_format_get_blockwidth(view->format),
|
||||
false, desc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue