OSDN Git Service

i965/gen4: Fix LOD bias texturing since my fixed reg classes change.
authorEric Anholt <eric@anholt.net>
Tue, 13 Nov 2012 23:54:41 +0000 (15:54 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 26 Nov 2012 02:25:26 +0000 (18:25 -0800)
commit244db0855c3c604211d7a868240ec927610881dd
treeeafd907c32d369a65f87866c9bc53dc1cf0bc4d1
parentcff4c948ed2708a6eb4b090ae87443a707cbd67f
i965/gen4: Fix LOD bias texturing since my fixed reg classes change.

We have a special case where non-shadow comparison with LOD requires using a
SIMD16 vec4 in an 8-wide shader, which appears in the register allocator as a
size 8 vgrf.

Fixes assertions in various piglit tests and webgl conformance.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=56521
src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp