Skip to content

How to sample 2x2 neighbor points of a given point, like textureGather() in openGL #6852

Answered by abadams
zhouwangpei123 asked this question in Q&A
Discussion options

You must be logged in to vote

In Halide that has to be expressed as four separate loads.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@zhouwangpei123
Comment options

Answer selected by zhouwangpei123
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants