mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
clover: Fix up NULL constant pointer arguments.
Tested-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
c97763ca2d
commit
198cd136b9
1 changed files with 2 additions and 1 deletions
|
|
@ -411,7 +411,8 @@ kernel::constant_argument::bind(exec_context &ctx,
|
|||
|
||||
void
|
||||
kernel::constant_argument::unbind(exec_context &ctx) {
|
||||
buf->resource(*ctx.q).unbind_surface(*ctx.q, st);
|
||||
if (buf)
|
||||
buf->resource(*ctx.q).unbind_surface(*ctx.q, st);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue