mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 07:30:09 +01:00
asahi,hk: fix st_tile mask size
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31532>
This commit is contained in:
parent
ad48cd2759
commit
f9201eb7d3
2 changed files with 2 additions and 2 deletions
|
|
@ -589,7 +589,7 @@ build_image_copy_shader(const struct vk_meta_image_copy_key *key)
|
|||
if (key->block_based) {
|
||||
/* Must define the phi first so we validate. */
|
||||
nir_def *phi = nir_if_phi(b, value1, value2);
|
||||
nir_def *mask = nir_imm_int(b, 1 << s);
|
||||
nir_def *mask = nir_imm_intN_t(b, 1 << s, 16);
|
||||
|
||||
nir_store_local_pixel_agx(b, phi, mask, lid, .base = 0,
|
||||
.write_mask = 0xf, .format = isa_format,
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ asahi_blit_compute_shader(struct pipe_context *ctx, struct asahi_blit_key *key)
|
|||
enum pipe_format tib_format =
|
||||
ail_pixel_format[effective_format(key->dst_format)].renderable;
|
||||
|
||||
nir_store_local_pixel_agx(b, color, nir_imm_int(b, 1), lid, .base = 0,
|
||||
nir_store_local_pixel_agx(b, color, nir_imm_intN_t(b, 1, 16), lid, .base = 0,
|
||||
.write_mask = 0xf, .format = tib_format,
|
||||
.explicit_coord = true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue