mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-19 07:50:37 +01:00
panfrost: also check for PAN_BIND_STORAGE_IMAGE
Since d95423686f ("pan/format: Add PAN_BIND_STORAGE_IMAGE flag"), we
have a separate flag for PAN_BIND_STORAGE_IMAGE, and can now also
properly check for this.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39686>
This commit is contained in:
parent
4361977291
commit
394d5928bd
1 changed files with 2 additions and 0 deletions
|
|
@ -117,6 +117,8 @@ pipe_to_pan_bind_flags(uint32_t pipe_bind_flags)
|
|||
pan_bind_flags |= PAN_BIND_VERTEX_BUFFER;
|
||||
if (pipe_bind_flags & PIPE_BIND_SAMPLER_VIEW)
|
||||
pan_bind_flags |= PAN_BIND_SAMPLER_VIEW;
|
||||
if (pipe_bind_flags & PIPE_BIND_SHADER_IMAGE)
|
||||
pan_bind_flags |= PAN_BIND_STORAGE_IMAGE;
|
||||
|
||||
return pan_bind_flags;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue