mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
panfrost: Fix pan_blitter_get_blit_shader()
The key passed to _mesa_hash_table_search() is wrong, fix it.
Fixes: 8ba2f9f698 ("panfrost: Create a blitter library to replace the existing preload helpers")
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10232>
This commit is contained in:
parent
1c51c533bd
commit
c8c6e0ff6f
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ pan_blitter_get_blit_shader(struct panfrost_device *dev,
|
|||
const struct pan_blit_shader_key *key)
|
||||
{
|
||||
pthread_mutex_lock(&dev->blitter.shaders.lock);
|
||||
struct hash_entry *he = _mesa_hash_table_search(dev->blitter.shaders.blit, &key);
|
||||
struct hash_entry *he = _mesa_hash_table_search(dev->blitter.shaders.blit, key);
|
||||
struct pan_blit_shader_data *shader = he ? he->data : NULL;
|
||||
|
||||
if (shader)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue