Graphics Reference
In-Depth Information
900
Texture
800
Texture unrolled
Shared
Shared unrolled
FFT
700
600
500
400
300
200
100
0
100
200
300
400
500
600
Volume Size
900
Texture
800
Texture unrolled
Shared
Shared unrolled
FFT
700
600
500
400
300
200
100
0
0
100
200
300
400
500
600
Volume Size
Figure 5.9.
Performance, measured in megavoxels per second, for the different imple-
mentations of 3D filtering and volume sizes ranging from 64
×
64
×
64 to 512
×
512
×
512.
FFT-based filtering is the fastest approach for large filters. The texture-based approach
is actually slower for 3D with loop unrolling, which is explained by an increase in the
number of registers used. The results for a 7
×
7
×
7 filter are shown in the upper plot
the results for a 13
×
13
×
13 filter in the lower plot.