zink: error-check right variable
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 27 Nov 2019 16:44:05 +0000 (17:44 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 29 Nov 2019 08:54:25 +0000 (09:54 +0100)
commit7a63124a06b4737199301956513b7627bcaf24ac
tree232428df146b0cbee41bb65bd697db845683e347
parentc8769ff8dd2eb9c9698f9608f97256708d6f1009
zink: error-check right variable

That's not the value we just allocated...

CoverityID: 1455177
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/zink/nir_to_spirv/spirv_builder.c