summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/common
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-10-12 23:14:15 +1300
committerChris Forbes <[email protected]>2013-10-26 22:56:09 +1300
commit72b5e9c42a6cfe085f7683057672ab2278e45c2e (patch)
tree8c6286f699b2a4c6150c60a0f6be045f5e07862d /src/mesa/drivers/common
parenta936000db6c0ead5a4b469673fd93534efe66e0d (diff)
i965: Add lowering pass to fold offset into unnormalized coords
It turns out that nonzero offsets with gsampler2DRect don't work -- they just return garbage. Work around this by folding the offset into the coord. Done as an IR pass rather than yet another hack in the visitors because it's clear what's going on this way. Can possibly reuse this to replace the existing txf coord+offset hacks. V2: Use ir_builder Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common')
0 files changed, 0 insertions, 0 deletions