mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
zink: fix vertex buffer mask computation for null buffers
off by N affects: KHR-GL46.texture_cube_map_array.sampling Fixes:53aade0ef0("zink: fix enabled vertex buffer mask calculation") Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14721> (cherry picked from commit42ae116ac7)
This commit is contained in:
parent
e3956c3d5c
commit
adab2e0b7a
2 changed files with 2 additions and 2 deletions
|
|
@ -3784,7 +3784,7 @@
|
|||
"description": "zink: fix vertex buffer mask computation for null buffers",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "53aade0ef0def4ea7f8468cdec04acd2384e2d2c"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -950,7 +950,7 @@ zink_set_vertex_buffers(struct pipe_context *pctx,
|
|||
zink_resource_buffer_barrier(ctx, res, VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT,
|
||||
VK_PIPELINE_STAGE_VERTEX_INPUT_BIT);
|
||||
} else {
|
||||
enabled_buffers &= ~BITFIELD_BIT(i);
|
||||
enabled_buffers &= ~BITFIELD_BIT(start_slot + i);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue