mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
rusticl/mesa: fix set_constant_buffer when passing an empty buffer
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25303>
This commit is contained in:
parent
f1b9b7f955
commit
a9f408bd52
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ impl PipeContext {
|
|||
pipe_shader_type::PIPE_SHADER_COMPUTE,
|
||||
idx,
|
||||
false,
|
||||
&cb,
|
||||
if data.is_empty() { ptr::null() } else { &cb },
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue