mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
v3dv: fix missing access bit flag when checking for texel buffer reads
VK_ACCESS_2_SHADER_READ_BIT matches all types of reads from shaders,
texel buffers too.
Reviewed-by: Juan A. Suarez <jasuarez@igalia.com>
cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33367>
(cherry picked from commit a6dc8fa426)
This commit is contained in:
parent
6c580e547d
commit
1579ff453e
2 changed files with 2 additions and 1 deletions
|
|
@ -534,7 +534,7 @@
|
|||
"description": "v3dv: fix missing access bit flag when checking for texel buffer reads",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2844,6 +2844,7 @@ cmd_buffer_binning_sync_required(struct v3dv_cmd_buffer *cmd_buffer,
|
|||
|
||||
/* Texel Buffer read */
|
||||
if (buffer_access & (VK_ACCESS_2_SHADER_SAMPLED_READ_BIT |
|
||||
VK_ACCESS_2_SHADER_READ_BIT |
|
||||
VK_ACCESS_2_MEMORY_READ_BIT)) {
|
||||
if (vs_bin_maps->texture_map.num_desc > 0)
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue