style cleanup: block comments

This commit is contained in:
Campbell Barton
2012-06-09 17:22:52 +00:00
parent 2f60d9b0b9
commit 0fbb6bff27
70 changed files with 551 additions and 536 deletions

View File

@@ -92,13 +92,13 @@ __device float4 svm_image_texture(KernelGlobals *kg, int id, float x, float y)
float4 r;
/* not particularly proud of this massive switch, what are the
alternatives?
- use a single big 1D texture, and do our own lookup/filtering
- group by size and use a 3d texture, performance impact
- group into larger texture with some padding for correct lerp
also note that cuda has 128 textures limit, we use 100 now, since
we still need some for other storage */
* alternatives?
* - use a single big 1D texture, and do our own lookup/filtering
* - group by size and use a 3d texture, performance impact
* - group into larger texture with some padding for correct lerp
*
* also note that cuda has 128 textures limit, we use 100 now, since
* we still need some for other storage */
switch(id) {
case 0: r = kernel_tex_image_interp(__tex_image_000, x, y); break;