iris: Check if resource has stencil before returning it
authorAndrii Kryvytskyi <andrii.o.kryvytskyi@globallogic.com>
Mon, 13 May 2019 12:19:03 +0000 (15:19 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 May 2019 04:16:11 +0000 (21:16 -0700)
commiteca53f00aa64b5d43a5a8980593bc9c62a297c8f
tree53519d4a91ef2b9801e39eba3d1954e7f54adce0
parent49958c4b5d0abe703e5aa028253e9f5b0742d695
iris: Check if resource has stencil before returning it

Signed-off-by: Andrii Kryvytskyi <andrii.o.kryvytskyi@globallogic.com>
Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/drivers/iris/iris_resource.c