cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

bubu
Adept II

Image caching pattern

Hi,

I'm currently using an image in order to take advantage of the GPU caching system.

My algorithm iterates the image from top to bottom for each thread ( but skipping some random texels differently for each thread ).

I was wondering if I could improve the caching efficiency storing the image using Morton codes/Z-order but... how is the texture swizzled/tiled internally in VRAM?

thx.

0 Likes
1 Reply
sh2
Adept II

Re: Image caching pattern

There is no general answer because texture layout is hardware dependent.

Here you could find texture format used by old AMD/ATI chips:

http://www.x.org/docs/AMD/R5xx_Acceleration_v1.5.pdf

0 Likes