intel: set dri image dimensions even when creating out of primes
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 17 Apr 2013 10:11:16 +0000 (13:11 +0300)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Fri, 2 Aug 2013 05:56:03 +0000 (08:56 +0300)
commitee844b66605fed48fc61b8787b6a86cf1c4e94d7
treef04e658e3569c4024fb21264080b9af96cc2d08f
parent904587ac3aae82c2c9c2aba94280021703cb88bd
intel: set dri image dimensions even when creating out of primes

Otherwise 'intel_set_texture_image_region()' won't have enough
details to work with.

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/intel_screen.c