summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-01-21 07:59:56 -0800
committerJason Ekstrand <[email protected]>2018-05-09 11:16:33 -0700
commit293b8de16159912133fde59c62c58b42ad80e1af (patch)
tree0916fd5a8464c3a5a5ca9c54a7d8a65ac24ae278 /m4
parent3853f1c6f4b97edde22c767a80c137da6e39904a (diff)
blorp: Handle the RGB workaround more like other workarounds
The previous version was sort-of strapped on in that it just adjusted the blit rectangle and trusted in the fact that we would use texelFetch and round to the nearest integer to ensure that the component positions matched. This new version, while slightly more complicated, is more accurate because all three components end up with exactly the same dst_pos and so they will get interpolated and sampled at the same texture coordinate. This makes the workaround suitable for using with scaled blits. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions