Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
WithinReason
· 3y ago · 0 comments
Image lookups with bad locality is exactly what a GPU's texture pipeline is for
Comments
[–]
amelius
3y ago
How does this pipeline deal with the locality issue, assuming the texture doesn't fit in the cache?
[–]
WithinReason
OP
3y ago
The texture cache tries to guarantee that every pixel is only read from DRAM once, and the texture sampler does bilinear sampling "for free". So a sequential copy and a "rotation copy" should take about the same time.