i965/blorp: Add support for single sample scaled blit with bilinear filter
authorAnuj Phogat <anuj.phogat@gmail.com>
Thu, 18 Jul 2013 01:38:50 +0000 (18:38 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 16 Aug 2013 16:46:15 +0000 (09:46 -0700)
commit079bdba05f870807d3ed77fa3093cdb7727aa2fd
tree238a3f5f3e0d96a386029d430429b7b35433bc18
parentaff371b634b574cc56bd91464365a50c8bcb42fe
i965/blorp: Add support for single sample scaled blit with bilinear filter

Currently single sample scaled blits with GL_LINEAR filter falls
back to meta path. Patch removes this limitation in BLORP engine
and implements single sample scaled blit with bilinear filter.
No piglit, gles3 regressions are observed with this patch on Ivybridge.

V2: Use "sample" message to utilize the linear filtering functionality
built in to hardware.
V3: Define a bool variable (bilinear_filter) to handle the conditions
for GL_LINEAR blits.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/brw_blorp.h
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/i965/intel_mipmap_tree.c