iris: Use at least 1x1 size for null FB surface state.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 6 Nov 2018 07:16:14 +0000 (23:16 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commitbcac11c8f12ec46010bb624690ba121720d19911
tree69c47c20f7694ec6bcaf79e7a03b7daf77b20ec3
parent9c8fdf8133648483b0e38d5b7fedc55f9dc16876
iris: Use at least 1x1 size for null FB surface state.

Otherwise we get 0 - 1 = 0xffffffff and fail to pack SURFACE_STATE.

Fixes some object namespace pollution gltexsubimage2d tests
src/gallium/drivers/iris/iris_state.c