i965: Emitting 3DSTATE_SO_BUFFER of 0-size.
authorSergii Romantsov <sergii.romantsov@gmail.com>
Wed, 15 Aug 2018 12:21:47 +0000 (15:21 +0300)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Aug 2018 20:15:28 +0000 (13:15 -0700)
commitefb28aa9705699794143b32e11f5c857db60e060
tree622269f4e5cbd85931d2a4cce67ec854c81b2d22
parent98b3b6367a919990bc2832183fdcf285ffeb4b8a
i965: Emitting 3DSTATE_SO_BUFFER of 0-size.

Avoided filling of whole structure and bo-allocation if
size of surface is 0.

Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
src/mesa/drivers/dri/i965/genX_state_upload.c