i965: Use constant pointer when checking for compression
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Mon, 7 Dec 2015 19:58:33 +0000 (21:58 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 10 Feb 2016 07:10:45 +0000 (09:10 +0200)
commit3c432d48bfe8b3d3326c16aed191fa80a5400963
tree5d83c9e989eae7b3c9c12b98d262f4bb07a967e8
parent85fab1f09a2aa8e537203c350b7392c9b52ef86b
i965: Use constant pointer when checking for compression

Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_surface_formats.c