llvmpipe/images: handle undefined atomic without crashing
authorDave Airlie <airlied@redhat.com>
Thu, 24 Oct 2019 01:42:23 +0000 (11:42 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 3 Dec 2019 05:29:04 +0000 (15:29 +1000)
commitf52cdaa517b0bea142a273acb5b48f359b73982b
treec850ee8bdec49d9639d3b1b293a46baca36fe216
parent71dd52e0560e3d32dd040301ae99e0ae2da4384e
llvmpipe/images: handle undefined atomic without crashing

just return 0 for unbound atomic operations.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c