summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2015-10-22 23:49:41 +0200
committerRoland Scheidegger <[email protected]>2015-10-24 03:00:33 +0200
commit71ff5af5dd308e4a53b66b7530cc01ec4bf5715e (patch)
treeeacd88dc928db5c1a262be53976ee903131cb1ea /src/gallium/docs
parentfb586e1edb207328534f554a9afaf2c07434e08e (diff)
gallivm: fix sampling with texture offsets in SoA path
When using nearest filtering and clamp / clamp to edge wrapping results could be wrong for negative offsets. Fix this by adding the offset before doing the conversion to int coords (could also use floor instead of trunc int conversion but probably more complex on "typical" cpu). This fixes the piglit texwrap offset failures with this filter/wrap combo (which only leaves the linear/mirror repeat combination broken). Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/docs')
0 files changed, 0 insertions, 0 deletions