iris: Fall back to 1x1x1 null surface if no framebuffer supplied
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 24 Oct 2018 21:16:38 +0000 (14:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commit927c4a21bd6982f653a8987494f37fc36a8295e6
tree71be97d3938b937ee994040ac8d139cfddfcc8f9
parent5d1a9db720a674110d4b2eb1c848f2e1062cdbf6
iris: Fall back to 1x1x1 null surface if no framebuffer supplied

If the state tracker never gave us the framebuffer dimensions via
a set_framebuffer_state() call, just fall back to the unbound texture
null surface, which is 1x1x1.  Otherwise we'd use a NULL resource
(no pun intended).
src/gallium/drivers/iris/iris_state.c