summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_renderbuffer.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-11-21 13:42:08 -0800
committerEric Anholt <[email protected]>2017-12-14 14:36:17 -0800
commitb08b6289943b225b6451e6c8ce331a8c11bd0c7f (patch)
tree50590887b30bb02c9f8aebc099a2ff8f79560043 /src/mesa/swrast/s_renderbuffer.c
parent52f024b0523763799e71de0a327d5143df72a792 (diff)
nir: Fix interaction of GL_CLAMP lowering with texture offsets.
We want the clamping of the coordinate to apply after the offset, so we need to do math to lower the offset out of the instruction. Fixes texwrap offset cases for GL_CLAMP with GL_NEAREST on vc5. Note: I moved the get_texture_size() verbatim, so that it was defined before use. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_renderbuffer.c')
0 files changed, 0 insertions, 0 deletions