OSDN Git Service

i965/gen7: Use the base_level field of the sampler to handle GL's BASE_LEVEL.
authorEric Anholt <eric@anholt.net>
Wed, 28 Aug 2013 19:06:31 +0000 (12:06 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 30 Aug 2013 18:30:45 +0000 (11:30 -0700)
commitf217791ee27bdd10817109391243ffac5564daad
treec3771b992fb908bc5f109dba58358544fabe0cd6
parent2e2445fa7e7a916ae2e6304fa8075820d516dc3c
i965/gen7: Use the base_level field of the sampler to handle GL's BASE_LEVEL.

This avoids the need to get the inter- and intra-tile offset and adjust
our miptree info based on them.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen7_sampler_state.c
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c