Re: [Mesa-dev] [PATCH] intel: Skip texsubimage fastpath for more pixel unpack state

2012-10-17 Thread Eric Anholt
Chad Versace writes: > Fixes piglit tests "unpack-teximage2d --pbo=* --format=GL_BGRA" on > Sandybridge+. > > The fastpath was checking an incomplete set of pixel unpack state. This > patch adds checks for all the fields of gl_pixelstore_attrib that affect > 2D texture uploads. Also, it begins p

[Mesa-dev] [PATCH] intel: Skip texsubimage fastpath for more pixel unpack state

2012-10-12 Thread Chad Versace
Fixes piglit tests "unpack-teximage2d --pbo=* --format=GL_BGRA" on Sandybridge+. The fastpath was checking an incomplete set of pixel unpack state. This patch adds checks for all the fields of gl_pixelstore_attrib that affect 2D texture uploads. Also, it begins permitting the case where GL_UNPACK